3 # Font metrics for the PS code generator
6 # These files are generated from AFM files
7 require 'metrics/ptmr8a.ph'; # Times-Roman
8 require 'metrics/ptmri8a.ph'; # Times-Italic
9 require 'metrics/pcrr8a.ph'; # Courier
10 require 'metrics/pcrb8a.ph'; # Courier-Bold
11 require 'metrics/phvb8a.ph'; # Helvetica-Bold
12 require 'metrics/phvbo8a.ph'; # Helvetica-BoldOblique
14 # The fonts we want to use for various things
15 # The order is: <normal> <emphatic> <code>
17 %ChapFont = (name => 'cfont',
19 fonts => [[18,\%PS_Helvetica_Bold],
20 [18,\%PS_Helvetica_BoldOblique],
21 [18,\%PS_Courier_Bold]]);
22 %HeadFont = (name => 'hfont',
24 fonts => [[14,\%PS_Helvetica_Bold],
25 [14,\%PS_Helvetica_BoldOblique],
26 [14,\%PS_Courier_Bold]]);
27 %SubhFont = (name => 'sfont',
29 fonts => [[12,\%PS_Helvetica_Bold],
30 [12,\%PS_Helvetica_BoldOblique],
31 [12,\%PS_Courier_Bold]]);
32 %TextFont = (name => 'tfont',
34 fonts => [[11,\%PS_Times_Roman],
35 [11,\%PS_Times_Italic],
39 # List of all fontsets; used to compute the list of fonts needed
41 @AllFonts = ( \%ChapFont, \%HeadFont, \%SubhFont, \%TextFont );