SECTION 5.7
457
Font Descriptors
KEY
TYPE
VALUE
ItalicAngle
number
(Required)
The angle, expressed in degrees counterclockwise from the verti-
cal, of the dominant vertical strokes of the font. (For example, the 9-o’clock
position is 90 degrees, and the 3-o’clock position is –90 degrees.) The value is
negative for fonts that slope to the right, as almost all italic fonts do.
(Required, except for Type 3 fonts)
The maximum height above the baseline
reached by glyphs in this font, excluding the height of glyphs for accented
characters.
(Required, except for Type 3 fonts)
The maximum depth below the baseline
reached by glyphs in this font. The value is a negative number.
(Optional)
The spacing between baselines of consecutive lines of text. Default
value: 0.
(Required for fonts that have Latin characters, except for Type 3 fonts)
The ver-
tical coordinate of the top of flat capital letters, measured from the baseline.
(Optional)
The font’s
x height:
the vertical coordinate of the top of flat non-
ascending lowercase letters (like the letter
x),
measured from the baseline, in
fonts that have Latin characters. Default value: 0.
(Required, except for Type 3 fonts)
The thickness, measured horizontally, of
the dominant vertical stems of glyphs in the font.
(Optional)
The thickness, measured vertically, of the dominant horizontal
stems of glyphs in the font. Default value: 0.
(Optional)
The average width of glyphs in the font. Default value: 0.
(Optional)
The maximum width of glyphs in the font. Default value: 0.
(Optional)
The width to use for character codes whose widths are not speci-
fied in a font dictionary’s
Widths
array. This has a predictable effect only if all
such codes map to glyphs whose actual widths are the same as the value of
the
MissingWidth
entry. Default value: 0.
(Optional)
A stream containing a Type 1 font program (see Section 5.8,
(Optional; PDF 1.1)
A stream containing a TrueType font program (see Sec-
Ascent
number
Descent
number
number
number
number
Leading
CapHeight
XHeight
StemV
number
number
number
number
number
StemH
AvgWidth
MaxWidth
MissingWidth
FontFile
stream
stream
FontFile2