summaryrefslogtreecommitdiff
path: root/macros/latex/contrib/pclnfss/src/hpfontshow.tex
blob: 6c12ce792f403227e55f66d879b9671bc5e8fb48 (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
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
% hpfontshow.tex to do one-line or full showings of builtin LJ 4 fonts.

\newif\ifoneline \onelinefalse % one-line showings, or full tables?
\input fontabbrev 

\def\startfamily#1{\def\family{#1}\bigbreak} % glue disappears at page breaks

% Print a one-line sample of the font #1.
\def\fontline#1{%
  \def\variant{#1}%
  \font\testfont = \family\variant
  \testfont
  \vskip3pt
  \line{%
    \hbox to 42pt{\tt \fontname\testfont\hfil}%
    \fullname
    \hfil
    ABCDEFGHIJKLMNOPQRSTUVWXYZ
    abcdefghijklmnopqrstuvwxyz
    0123456789%
  }
  \vfil
}

\def\fullname{%
  \csname \family family\endcsname
  \space
  \csname \variant variant\endcsname
  \space
}


\startfamily{cal}
\dofont{m}
\dofont{x}

\startfamily{cao}
\dofont{r}
\dofont{ri}
\dofont{b}

\startfamily{ccd}
\dofont{rrc}

\startfamily{ccr}
\dofont{r}
\dofont{ri}
\dofont{b}
\dofont{bi}

\startfamily{cgm}
\dofont{r}
\dofont{ri}
\dofont{b}
\dofont{bi}

\startfamily{clg}
\dofont{r}
\dofont{ri}
\dofont{b}

\startfamily{cmg}
\dofont{r}

\startfamily{cop}
\dofont{r}
\dofont{ri}
\dofont{b}
\dofont{bi}

\startfamily{cot}
\dofont{r}

\startfamily{ctm}
\dofont{r}
\dofont{ri}
\dofont{b}
\dofont{bi}

\startfamily{cun}
\dofont{m}
\dofont{mi}
\dofont{b}
\dofont{bi}

\startfamily{cun}
\dofont{mrc}
\dofont{mic}
\dofont{brc}
\dofont{bic}

\startfamily{hwi}
\dofont{r}

\startfamily{mhv}
\dofont{r}
\dofont{ri}
\dofont{b}
\dofont{bi}

\startfamily{mnt}
\dofont{r}
\dofont{ri}
\dofont{b}
\dofont{bi}

\startfamily{msy}
\dofont{r}

\bye