Class TrueTypeFontSubset
Builds a compact TrueType sfnt containing the rendered simple glyphs and kerning pairs.
public static class TrueTypeFontSubset
- Inheritance
-
TrueTypeFontSubset
- Inherited Members
Methods
Create(TrueTypeFont, FontUsage)
Creates a deterministic TrueType subset. The initial format supports BMP characters and simple and composite glyf outlines; its callers must retain the original font for unsupported scripts.
public static ReadOnlyMemory<byte> Create(TrueTypeFont font, FontUsage usage)
Parameters
fontTrueTypeFontusageFontUsage