diff options
Diffstat (limited to 'Master/texmf-dist/doc/fonts/cjk-gs-integrate/tests/adobe-GB1-345.tex')
-rw-r--r-- | Master/texmf-dist/doc/fonts/cjk-gs-integrate/tests/adobe-GB1-345.tex | 39 |
1 files changed, 39 insertions, 0 deletions
diff --git a/Master/texmf-dist/doc/fonts/cjk-gs-integrate/tests/adobe-GB1-345.tex b/Master/texmf-dist/doc/fonts/cjk-gs-integrate/tests/adobe-GB1-345.tex new file mode 100644 index 00000000000..05f0d11a331 --- /dev/null +++ b/Master/texmf-dist/doc/fonts/cjk-gs-integrate/tests/adobe-GB1-345.tex @@ -0,0 +1,39 @@ +\ifx\dviware\undefined \def\dviware{dvipdfmx}\fi
+\documentclass[\dviware]{jsarticle}
+\usepackage{cidtable}
+
+\begin{document}
+\begin{center}
+Adobe-GB1 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} \\ \hline
+ \end{tabular}
+\end{center}
+
+\newcount\code\global\code=0
+\newcount\supplement\global\supplement=0
+
+\noindent
+\foreach \row in {0,...,1514}{%
+\hbox to 7ex{\hfill\number\code}\quad
+\foreach \col in {0,...,19}{%
+\ifcase\supplement%
+\ifnum\code>7716 \global\advance\supplement by 1\fi\or
+\ifnum\code>9896 \global\advance\supplement by 1\fi\or
+\ifnum\code>22126 \global\advance\supplement by 1\fi\or
+\ifnum\code>22352 \global\advance\supplement by 1\fi\or
+\ifnum\code>29063 \global\advance\supplement by 1\fi\fi
+\ifnum\code < 30284
+ \ifnum\code > 22126
+ \colorbox{\colorname{\supplement}}{\CIDC{\code}}\
+\fi\fi
+\global\advance\code by 1
+}\\
+}
+\end{document}
|