SECTION 5.5
421
Simple Fonts
KEY
TYPE
VALUE
CharProcs
dictionary
(Required)
A dictionary in which each key is a character name and the value
associated with that key is a content stream that constructs and paints the
glyph for that character. The stream must include as its first operator either
d0
or
d1
, followed by operators describing one or more graphics objects,
which may include path, text, or image objects. See below for more details
about Type 3 glyph descriptions.
(Required)
An encoding dictionary whose
Differences
array specifies the
complete character encoding for this font (see Section 5.5.5, “Character
(Required)
The first character code defined in the font’s
Widths
array.
(Required)
The last character code defined in the font’s
Widths
array.
(Required; indirect reference preferred)
An array of (
LastChar
−
FirstChar
+
1)
widths, each element being the glyph width for the character code that equals
FirstChar
plus the array index. For character codes outside the range
FirstChar
to
LastChar
, the width is 0. These widths are interpreted in glyph space as
specified by
FontMatrix
(unlike the widths of a Type 1 font, which are in
thousandths of a unit of text space).
Note:
If
FontMatrix
specifies a rotation, only the horizontal component of the
transformed width is used. That is, the resulting displacement is always hori-
zontal in text space, as is the case for all simple fonts.
Encoding
name or
dictionary
integer
integer
array
FirstChar
LastChar
Widths
FontDescriptor
dictionary
(Required in Tagged PDF documents; must be an indirect reference)
A font de-
scriptor describing the font’s default metrics other than its glyph widths (see
(Optional but strongly recommended; PDF 1.2)
A list of the named resources,
such as fonts and images, required by the glyph descriptions in this font (see
named resources but this dictionary is absent, the names are looked up in the
resource dictionary of the page on which the font is used. (See implementa-
(Optional; PDF 1.2)
A stream containing a CMap file that maps character
codes to Unicode values (see Section 5.9, “Extraction of Text Content”).
Resources
dictionary
ToUnicode
stream