PdfType0Font Class

Definition

A composite (Type 0) font, whose glyphs come from a descendant CIDFont: a live view over its font dictionary.

public sealed class PdfType0Font : PdfFont

Remarks

ISO 32000-2 §9.7. A Type 0 font has no font descriptor of its own (§9.8.1); its CIDFont has one. Its CMap (Encoding) splits a shown string into codes of one to four bytes and maps each to a CID; the CIDFont (DescendantFont) gives the CID's glyph and metrics. ReadGlyph(ReadOnlySpan<Byte>) does both for one code.

The CMap and the CIDFont are resolved on first use and again when the font dictionary, its DescendantFonts array, the CIDFont dictionary or the CMap stream changes. Deviations are recorded once, on the font's object; in strict mode the call that finds one throws.

Tip: use kind:method, kind:property, kind:ctor. Press Esc to clear.

Properties (3)

Methods (1)