CHAPTER 5
414
Text
KEY
TYPE
VALUE
LastChar
integer
(Required except for the standard 14 fonts)
The last character code defined in
the font’s
Widths
array.
Note:
Beginning with PDF 1.5, the special treatment given to the standard 14
fonts is deprecated. All fonts used in a PDF document should be represented us-
ing a complete font descriptor. For backwards capability, viewer applications
must still provide the special treatment identified for the standard 14 fonts.
Widths
array
(Required except for the standard 14 fonts; indirect reference preferred)
An ar-
ray of (
LastChar
FirstChar
+
1) widths, each element being the glyph width
for the character code that equals
FirstChar
plus the array index. For charac-
ter codes outside the range
FirstChar
to
LastChar
, the value of
MissingWidth
from the
FontDescriptor
entry for this font is used. The glyph widths are
measured in units in which 1000 units corresponds to 1 unit in text space.
These widths must be consistent with the actual widths given in the font pro-
gram. (See implementation note 61 in Appendix H.) For more information
on glyph widths and other glyph metrics, see Section 5.1.3, “Glyph Position-
ing and Metrics.”
Note:
Beginning with PDF 1.5, the special treatment given to the standard 14
fonts is deprecated. All fonts used in a PDF document should be represented us-
ing a complete font descriptor. For backwards capability, viewer applications
must still provide the special treatment identified for the standard 14 fonts.
FontDescriptor
dictionary
(Required except for the standard 14 fonts; must be an indirect reference)
A font
descriptor describing the font’s metrics other than its glyph widths (see Sec-
tion 5.7, “Font Descriptors”).
Note:
For the standard 14 fonts, the entries
FirstChar
,
LastChar
,
Widths
, and
FontDescriptor
must either all be present or all be absent. Ordinarily, they are
absent; specifying them enables a standard font to be overridden (see “Standard
Type 1 Fonts (Standard 14 Fonts),” below).
Note:
Beginning with PDF 1.5, the special treatment given to the standard 14
fonts is deprecated. All fonts used in a PDF document should be represented us-
ing a complete font descriptor. For backwards capability, viewer applications
must still provide the special treatment identified for the standard 14 fonts.
Encoding
name or
dictionary
(Optional)
A specification of the font’s character encoding if different from its
built-in encoding. The value of
Encoding
is either the name of a predefined
encoding (
MacRomanEncoding
,
MacExpertEncoding
, or
WinAnsiEncoding
,
as described in Appendix D) or an encoding dictionary that specifies differ-
ences from the font’s built-in encoding or from a specified predefined encod-
ing (see Section 5.5.5, “Character Encoding”).
Index Bookmark Pages Text
Previous Next
Pages: Index All Pages
This HTML file was created by VeryPDF PDF to HTML Converter product.