The typeface statement defines a typeface and gives it a label. Each statement has the following syntax:
TypefaceFonts typeface-label
Name typeface-name [ Symbol ] [ Proportional ] [ Serif ] [ Translates translate-label ] font-height-section-clause-list | scalable-font-height-section-clause
EndTypeface
The typeface may be a symbol typeface and/or a proportional typeface and/or a serif typeface, but note that:
if Symbol is not included in the statement, then the typeface is normal
if Proportional is not included in the statement, then the typeface is monospaced
if Serif is not stated then the typeface is sans-serif.
The font heights available in the typeface are defined in the font-height-section-clause-list for a non-scalable typeface, or in the single scalable-font-height-section-clause for a scalable typeface.
A font-height-section-clause has the following syntax:
FontHeight
Height font-height
Normal normal-font
Bold bold-font
Italic italic-font
BoldItalic bold-italic-font
Command command-string
EndFontHeight
A scalable-font-height-section-clause has the following syntax:
ScalableFontHeight
HeightMin min-font-height
HeightMax max-font-height
HeightDelta font-height-delta
Normal normal-font
Bold bold-font
Italic italic-font
BoldItalic bold-italic-font
Command command-string
EndScalableFontHeight
All font heights are measured in twips.
Fonts are defined for each style for any font height of a given typeface.
normal-font, bold-font, italic-font, and bold-italic-font are all font-height-labels defined in previous font information statements.
TypefaceFonts Courier
Name "Courier" Serif
Translates Latin1ToWindows
FontHeight
Height 200
Normal Courier10
Bold Courier10
Italic Courier10
BoldItalic Courier10
Command "<27>(s0p12h10v3T"
EndFontHeight
FontHeight
Height 240
Normal Courier12
Bold Courier12
Italic Courier12
BoldItalic Courier12
Command "<27>(s0p10h12v3T"
EndFontHeight
EndTypefaceFonts