This class represents the truetype font dictionary. This is definitively detailed in:.

The ISO PDF Specification, ISO 32000-1:2008 PDF 1.7; page 257.

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.TrueTypeFontElement

A TrueType font dictionary describes a font whose glyphs are defined using TrueType outlines. The structure closely follows the type 1 model: BaseFont names the font, Widths gives per-character advance widths, and FontDescriptor carries detailed metrics and the embedded font program.

The Widths array runs from FirstChar to LastChar and gives advance widths in thousandths of a text space unit, consistent with the type 1 convention. Character codes outside this range use MissingWidth from the FontDescriptor.

Encoding works the same way as for type 1 fonts. A named encoding or an EncodingElement dictionary maps single-byte character codes to glyph names, which the font program then resolves to outlines.

TrueType fonts can be embedded as FontFile2 streams in the FontDescriptor. Subsetting is common: only the glyphs actually used in the document are included, with a tag prefix added to the font name to mark it as a subset.

 

   
   
Method
Description
TrueTypeFontElement Create a new TrueTypeFontElement.
inherited methods...

 

   
   
Property
Description
EntrySubtype Represents the "Subtype" entry of the truetype font dictionary object.
EntryName Represents the "Name" entry of the truetype font dictionary object.
EntryBaseFont Represents the "BaseFont" entry of the truetype font dictionary object.
EntryFirstChar Represents the "FirstChar" entry of the truetype font dictionary object.
EntryLastChar Represents the "LastChar" entry of the truetype font dictionary object.
EntryWidths Represents the "Widths" entry of the truetype font dictionary object.
EntryFontDescriptor Represents the "FontDescriptor" entry of the truetype font dictionary object.
EntryEncoding Represents the "Encoding" entry of the truetype font dictionary object.
EntryToUnicode Represents the "ToUnicode" entry of the truetype font dictionary object.
inherited properties...