summaryrefslogtreecommitdiff
path: root/Master/texmf-dist/fonts/map/dvips/tetex/base14flags.tex
blob: a48ff00e6663c591123d0fd897f925e4688fee19 (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
% $Id$
% Copyright 2013 Karl Berry.
% You may freely use, modify, and/or distribute this file.
% 
% Use each of the base14 fonts, explicitly eliminating fontflags from
% the map entries.  This causes pdftex to internally generate them
% (mapfile.c) and issue a warning including the value, so we can see
% what they are.  (See ./Makefile for a little rule to extract the values.)
%
% Why do we go to the trouble of using flag values for the base14 fonts,
% instead of eliminating the flag warning altogether in the source?
% Because it's conceivable (though not practical) that someone would
% want to specify some other font as not-downloaded, and hence want to
% specify flags for it.  In general, it just seems safer to specify the
% flags where they should be specified instead of ignoring the issue.

\nopagenumbers
\def\dofont#1#2{%
  \pdfmapline{#1 #2 <8r.enc}%
  \font\0 = #1 \0 \hbox{#1 #2}\space
}

% base14 only, not base35.
\dofont{pcrb8r}{Courier-Bold}
\dofont{pcrbo8r}{Courier-BoldOblique}
\dofont{pcrr8r}{Courier}
\dofont{pcrro8r}{Courier-Oblique}
%
\dofont{phvb8r}{Helvetica-Bold}
\dofont{phvbo8r}{Helvetica-BoldOblique}
\dofont{phvr8r}{Helvetica}
\dofont{phvro8r}{Helvetica-Oblique}
%
\dofont{psyr}{Symbol}
%
\dofont{ptmb8r}{Times-Bold}
\dofont{ptmbi8r}{Times-BoldItalic}
\dofont{ptmr8r}{Times-Roman}
\dofont{ptmri8r}{Times-Italic}
%
\dofont{pzdr}{ZapfDingbats}

\end