Debian Codegraph @

texmf-dist/fonts/map/dvips/tetex/base14flags.tex

raw
1 % $Id: base14flags.tex 31831 2013-10-04 18:33:49Z karl $
2 % Copyright 2013 Karl Berry.
3 % You may freely use, modify, and/or distribute this file.
4 %
5 % Use each of the base14 fonts, explicitly eliminating fontflags from
6 % the map entries. This causes pdftex to internally generate them
7 % (mapfile.c) and issue a warning including the value, so we can see
8 % what they are. (See ./Makefile for a little rule to extract the values.)
9 %
10 % Why do we go to the trouble of using flag values for the base14 fonts,
11 % instead of eliminating the flag warning altogether in the source?
12 % Because it's conceivable (though not practical) that someone would
13 % want to specify some other font as not-downloaded, and hence want to
14 % specify flags for it. In general, it just seems safer to specify the
15 % flags where they should be specified instead of ignoring the issue.
16
17 \nopagenumbers
18 \def\dofont#1#2{%
19 \pdfmapline{#1 #2 <8r.enc}%
20 \font\0 = #1 \0 \hbox{#1 #2}\space
21 }
22
23 % base14 only, not base35.
24 \dofont{pcrb8r}{Courier-Bold}
25 \dofont{pcrbo8r}{Courier-BoldOblique}
26 \dofont{pcrr8r}{Courier}
27 \dofont{pcrro8r}{Courier-Oblique}
28 %
29 \dofont{phvb8r}{Helvetica-Bold}
30 \dofont{phvbo8r}{Helvetica-BoldOblique}
31 \dofont{phvr8r}{Helvetica}
32 \dofont{phvro8r}{Helvetica-Oblique}
33 %
34 \dofont{psyr}{Symbol}
35 %
36 \dofont{ptmb8r}{Times-Bold}
37 \dofont{ptmbi8r}{Times-BoldItalic}
38 \dofont{ptmr8r}{Times-Roman}
39 \dofont{ptmri8r}{Times-Italic}
40 %
41 \dofont{pzdr}{ZapfDingbats}
42
43 \end