Namespace DRIT.Drawing.Font.Encoding
Classes
FontEncodingDefaults
Default implementation of TryGetGlyph(uint, out uint) and HasGlyph(uint) that derives coverage from DecodeToGid(uint). Implementers that can distinguish "no cmap entry" from "cmap entry → glyph 0" should override these methods directly.
NullEncoding
A no-op encoding that always returns NotDefId. Used as a placeholder before a real CMap table is parsed.
TtfUnicodeEncoding
Implements IFontEncoding by delegating to a CMap format subtable (TtfCMapFormatBaseTable) selected from a TrueType/OpenType font's "cmap" table.
Interfaces
IFontEncoding
Maps Unicode code points (and characters) to glyph identifiers within a font. Typically backed by a CMap subtable selected from the font's "cmap" table.