summaryrefslogtreecommitdiff
path: root/Master/texmf-dist/doc/fonts/cjk-gs-integrate/tests/adobe-Japan1.tex
blob: 05d51c9e3df721332df87f7d1735cacb52e82dd0 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
\ifx\dviware\undefined \def\dviware{dvipdfmx}\fi
\documentclass[\dviware]{jsarticle}
\usepackage{cidtable}

\begin{document}
\begin{center}
Adobe-Japan1 Glyphs\\
 \begin{tabular}{ll} \hline
  Supplement & Color \\ \hline
  0 & \colorsample{0} \\
  1 & \colorsample{1} \\
  2 & \colorsample{2} \\
  3 & \colorsample{3} \\
  4 & \colorsample{4} \\
  5 & \colorsample{5} \\
  6 & \colorsample{6} \\ \hline
 \end{tabular}
\end{center}

\newcount\code\global\code=0
\newcount\supplement\global\supplement=0

\noindent
\foreach \row in {0,...,1152}{%
\hbox to 7ex{\hfill\number\code}\quad
\foreach \col in {0,...,19}{%
\ifcase\supplement%
\ifnum\code>8283  \global\advance\supplement by 1\fi\or
\ifnum\code>8358  \global\advance\supplement by 1\fi\or
\ifnum\code>8719  \global\advance\supplement by 1\fi\or
\ifnum\code>9353  \global\advance\supplement by 1\fi\or
\ifnum\code>15443 \global\advance\supplement by 1\fi\or
\ifnum\code>20316 \global\advance\supplement by 1\fi\fi
\ifnum\code < 23058
 \colorbox{\colorname{\supplement}}{\CID{\code}}\
\fi
\global\advance\code by 1
}\\
}
\end{document}