|
This class represents the type 1 font dictionary. This is
definitively detailed in:.
The ISO PDF Specification, ISO 32000-1:2008 PDF 1.7; Table: 111,
page 254.
The ISO PDF
Specification, ISO 32000-2:2017 PDF 2.0; Table: 109, page 310.
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.Type1FontElement
A type 1 font dictionary describes a PostScript Type 1 or
Multiple Master font. It identifies the font by name through
BaseFont, maps character codes to glyph widths through the Widths
array, and can reference a FontDescriptor for detailed metric and
embedding information.
The Widths array covers the character codes from FirstChar to
LastChar inclusive. Each entry gives the advance width of the glyph
at that code position, measured in units of 1/1000 of a text space
unit. Codes outside this range use the MissingWidth value from the
FontDescriptor.
The encoding controls which character codes map to which glyph
names. A named encoding such as WinAnsiEncoding selects a standard
mapping; an EncodingElement dictionary can start from a named base
and apply per-glyph overrides through the Differences array.
The 14 standard Type1 fonts are always available in a conforming
viewer without embedding. For any other Type1 font, the font
program should be embedded in the FontDescriptor to ensure correct
rendering across all viewers.
MMType1 is the Multiple Master variant, which supports
interpolation between design axes such as weight and width. The
mechanics are the same as Type1 but the font program contains
multiple master designs.
|