Class FontUsage
The characters and adjacent character pairs rendered with one font face.
public sealed class FontUsage
- Inheritance
-
FontUsage
- Inherited Members
Remarks
This deliberately records source characters rather than only glyph IDs. A compact font needs a cmap for the SVG text, while pairs allow the subsetter to retain the kerning actually used. Complex OpenType shaping is outside the first subset format and will add richer usage records.
Properties
Characters
public IReadOnlySet<Rune> Characters { get; }
Property Value
Pairs
public IReadOnlySet<FontUsage.RunePair> Pairs { get; }
Property Value
Methods
Add(string)
public void Add(string text)
Parameters
textstring