Namespace DRIT.Drawing.Font.Ttf.Tables
Classes
TtfAvarTable
Parsed OpenType "avar" (axis variations) table. Stores piecewise-linear segment maps that remap default-normalized axis values to final normalized values. Ref: OpenType spec §table-avar.
TtfCMapFormat0Table
CMap format 0: simple byte-array mapping of code points 0–255. Each entry is a single byte glyph index. Ref: OpenType spec §5.6.1.1.1.
TtfCMapFormat12Table
CMap format 12: segmented coverage mapping for the full Unicode range (U+0000–U+10FFFF). Each group specifies a contiguous run of code points that maps linearly to a contiguous run of glyph indices. Ref: OpenType spec §5.6.1.1.12.
TtfCMapFormat4Table
CMap format 4: segmented BMP character-to-glyph-index mapping. Covers Unicode code points in the range U+0000–U+FFFF using a series of contiguous segments defined by start/end code arrays. Ref: OpenType spec §5.6.1.1.4.
TtfCMapFormatBaseTable
Abstract base for a parsed OpenType CMap format subtable. Concrete implementations: TtfCMapFormat0Table (format 0), TtfCMapFormat4Table (format 4, BMP), TtfCMapFormat12Table (format 12, full Unicode).
TtfCMapTable
Parsed OpenType "cmap" table (character-to-glyph-index mapping). Reads all encoding records from the table directory and parses the unique subtables; exposes FindUnicodeTable() to select the best subtable for Unicode text shaping. Ref: OpenType spec §5.6.
TtfCbdtTable
Parsed OpenType "CBDT" (Color Bitmap Data) table. Exposes colour bitmap images (typically PNG) for individual glyphs. Requires the companion "CBLC" table to be parsed first; pass a DRIT.Drawing.Font.Ttf.Tables.TtfCblcTable to Parse(byte[], byte[], TtfCblcTable). Ref: OpenType spec §table-CBDT.
TtfFvarTable
Parsed OpenType "fvar" (font variations) table. Exposes the variation axes and named instances of a variable font. Ref: OpenType spec §table-fvar.
TtfGdefTable
Parsed OpenType "GDEF" table — Glyph Definition table. Exposes per-glyph classification (Base, Ligature, Mark, Component) via GetClass(ushort).
TtfGlyfTable
Parsed OpenType "glyf" table. Provides lazy on-demand parsing of individual glyph outlines using the "loca" table to locate each glyph's data within the raw byte array. Ref: OpenType spec §5.3.3.
TtfGposTable
Parsed OpenType "GPOS" table header and feature tag list. Exposes FeatureTags (e.g. "kern", "mark", "mkmk") so callers can detect which positioning features are available. Full positioning lookup application is deferred to a future batch.
TtfGsubTable
Parsed OpenType "GSUB" table header and feature tag list. Exposes FeatureTags (e.g. "liga", "calt", "dlig") so callers can detect which substitution features are available. Full substitution lookup application is deferred to a future batch.
TtfGvarTable
Parsed OpenType "gvar" (glyph variations) table header. Exposes per-glyph raw tuple variation data; full interpolation is deferred. Ref: OpenType spec §table-gvar.
TtfHeadTable
Parsed OpenType "head" table (font header). Ref: OpenType spec §5.2.1 / TrueType Reference §'head'.
TtfHheaTable
Parsed OpenType "hhea" table (horizontal header). Contains metrics that describe the overall horizontal layout of the font. Ref: OpenType spec §5.2.3 / TrueType Reference §'hhea'.
TtfHmtxTable
Parsed OpenType "hmtx" table (horizontal metrics).
Stores advance width and left side-bearing for every glyph.
The first numberOfHMetrics glyphs each have their own advance width;
glyphs beyond that index share the last advance width value.
Ref: OpenType spec §5.2.4.
TtfKernTable
Parsed OpenType "kern" table — horizontal kerning adjustments between glyph pairs.
TtfLocaTable
Parsed OpenType "loca" table (index to location). Maps glyph indices to their byte offsets within the "glyf" table.
TtfMaxpTable
Parsed OpenType "maxp" table (maximum profile). The version 0.5 variant contains only NumGlyphs; version 1.0 adds glyph-program-stack and component limits used by the TrueType hinting interpreter. Ref: OpenType spec §5.2.6.
TtfNameTable
Parsed OpenType "name" table. Exposes the most common font name strings, preferring Windows/Unicode platform records (platformID=3, encodingID=1, languageID=0x0409) over Unicode-BMP (platformID=0) and Macintosh (platformID=1) records. Ref: OpenType spec §5.2.9.
TtfOs2Table
Parsed OpenType "OS/2" table (OS/2 and Windows metrics). Contains typographic metrics and embedding license flags used by both DRIT.Document (text layout) and DRIT.Pdf (font embedding). Ref: OpenType spec §5.7.
TtfPostTable
Parsed OpenType "post" table (PostScript compatibility). Contains italic angle and underline metrics used for PDF export and display rendering. Ref: OpenType spec §5.2.11.
TtfSvgTable
Parsed OpenType "SVG " (Scalable Vector Graphics) table. Exposes per-glyph SVG document strings. Ref: OpenType spec §table-SVG.
TtfTableBase
Abstract base for all parsed OpenType/TrueType table objects. Holds the raw table bytes so individual parsers can be re-run on demand.