Class TtfTables
Property bag that holds every parsed OpenType table for a TrueType/OTF font. Required tables are non-nullable; optional tables (absent from some fonts) are nullable.
Inherited Members
Namespace: DRIT.Drawing.Font.Ttf
Assembly: DRIT.Drawing.dll
Syntax
public sealed class TtfTables
Properties
AvarTable
"avar" — axis variation segment maps. Null in non-variable fonts.
Declaration
public TtfAvarTable? AvarTable { get; }
Property Value
| Type | Description |
|---|---|
| TtfAvarTable |
CMapTable
"cmap" — character-to-glyph-index map. Null for symbol/private-use fonts.
Declaration
public TtfCMapTable? CMapTable { get; }
Property Value
| Type | Description |
|---|---|
| TtfCMapTable |
CbdtTable
"CBDT"/"CBLC" — colour bitmap glyph images. Null in non-colour fonts.
Declaration
public TtfCbdtTable? CbdtTable { get; }
Property Value
| Type | Description |
|---|---|
| TtfCbdtTable |
FvarTable
"fvar" — variation axes and named instances. Null in non-variable fonts.
Declaration
public TtfFvarTable? FvarTable { get; }
Property Value
| Type | Description |
|---|---|
| TtfFvarTable |
GdefTable
"GDEF" — glyph classification (Base, Ligature, Mark, Component). Null when absent.
Declaration
public TtfGdefTable? GdefTable { get; }
Property Value
| Type | Description |
|---|---|
| TtfGdefTable |
GlyfTable
"glyf" — TrueType glyph outline data. Null for CFF-flavored OTF.
Declaration
public TtfGlyfTable? GlyfTable { get; }
Property Value
| Type | Description |
|---|---|
| TtfGlyfTable |
GposTable
"GPOS" — positioning feature tags (e.g. "kern", "mark"). Null when absent.
Declaration
public TtfGposTable? GposTable { get; }
Property Value
| Type | Description |
|---|---|
| TtfGposTable |
GsubTable
"GSUB" — substitution feature tags (e.g. "liga", "calt"). Null when absent.
Declaration
public TtfGsubTable? GsubTable { get; }
Property Value
| Type | Description |
|---|---|
| TtfGsubTable |
GvarTable
"gvar" — per-glyph tuple variation data. Null in non-variable fonts.
Declaration
public TtfGvarTable? GvarTable { get; }
Property Value
| Type | Description |
|---|---|
| TtfGvarTable |
Head
"head" — font header: unitsPerEm, bounds, indexToLocFormat.
Declaration
public TtfHeadTable Head { get; }
Property Value
| Type | Description |
|---|---|
| TtfHeadTable |
Hhea
"hhea" — horizontal header: ascender, descender, lineGap, numberOfHMetrics.
Declaration
public TtfHheaTable Hhea { get; }
Property Value
| Type | Description |
|---|---|
| TtfHheaTable |
Hmtx
"hmtx" — horizontal metrics: advance widths and left side-bearings.
Declaration
public TtfHmtxTable Hmtx { get; }
Property Value
| Type | Description |
|---|---|
| TtfHmtxTable |
KernTable
"kern" — horizontal kerning pairs (format 0). Null when absent or Apple AAT only.
Declaration
public TtfKernTable? KernTable { get; }
Property Value
| Type | Description |
|---|---|
| TtfKernTable |
Loca
"loca" — glyph offset index. Present only in TrueType-outline fonts; null for CFF-flavored OTF.
Declaration
public TtfLocaTable? Loca { get; }
Property Value
| Type | Description |
|---|---|
| TtfLocaTable |
Maxp
"maxp" — maximum profile: numGlyphs.
Declaration
public TtfMaxpTable Maxp { get; }
Property Value
| Type | Description |
|---|---|
| TtfMaxpTable |
Name
"name" — naming table: family name, full name, PostScript name, etc.
Declaration
public TtfNameTable Name { get; }
Property Value
| Type | Description |
|---|---|
| TtfNameTable |
Os2Table
"OS/2" — Windows metrics and license flags. Absent in some old Mac fonts.
Declaration
public TtfOs2Table? Os2Table { get; }
Property Value
| Type | Description |
|---|---|
| TtfOs2Table |
Post
"post" — PostScript compatibility info: italic angle, isFixedPitch.
Declaration
public TtfPostTable? Post { get; }
Property Value
| Type | Description |
|---|---|
| TtfPostTable |
SvgTable
"SVG " — SVG glyph outlines. Null in non-SVG fonts.
Declaration
public TtfSvgTable? SvgTable { get; }
Property Value
| Type | Description |
|---|---|
| TtfSvgTable |