Graphics Programs Reference
In-Depth Information
Figure 6-5. The simple text rendering modes
Defining and Embedding Fonts
A
font
is a collection of
glyphs
(character shapes) for a particular
character set
. In PDF,
a font is composed of a
font dictionary
which defines the metrics, character set, and
encoding (mapping of character codes in text strings to characters in the font), together
with the
font program
(which is the actual font file), in a variety of formats (Type 1,
TrueType etc).
Font Types in PDF
PDF allows the use of the major popular font formats, together with
Type 3 fonts
which
allow the encoding of any other font type (for example, legacy bitmap fonts) by defining
the character shapes directly using a collection of PDF graphics operators.