|
This class represents the type 0 font dictionary. This is
definitively detailed in:.
The ISO PDF Specification, ISO 32000-1:2008 PDF 1.7; Table: 121,
page 279.
The ISO PDF
Specification, ISO 32000-2:2017 PDF 2.0; Table: 119, page 338.
This class is always an indirect object because it inherits from
FontElement which is always an indirect object.
System.Object
WebSupergoo.ABCpdf14.Elements.Element
WebSupergoo.ABCpdf14.Elements.FontElement
WebSupergoo.ABCpdf14.Elements.Type0FontElement
A type 0 font is a composite font that maps multi-byte character
codes to glyphs through a combination of a CMap encoding and one or
more CIDFont descendants. It is the standard mechanism in PDF for
handling large character sets such as Chinese, Japanese, and
Korean.
The Encoding entry names the CMap used to interpret character
codes in text strings. It can be a predefined CMap name such as
Identity-H or a reference to a CMap stream. The CMap converts
character codes to CIDs, which the CIDFont then maps to glyphs.
DescendantFonts holds an array containing exactly one CIDFont
dictionary. The CIDFont provides the glyph outlines and per-glyph
metrics. Its CIDSystemInfo must be compatible with that of the
CMap.
BaseFont names the font for display purposes. For type 0 fonts
it typically reflects the PostScript name of the CIDFont, sometimes
with a CMap suffix such as -Identity-H.
ToUnicode is particularly important for type 0 fonts because the
character codes in the content stream are not directly Unicode
values. Without a ToUnicode stream, text extraction tools cannot
reliably recover the Unicode text from the PDF.
|