FontParser
Table of Contents
Classes
- CffData
- Parsed CFF (Compact Font Format) table structure.
- CffParser
- Parses a CFF (Compact Font Format) binary table into a CffData structure.
- CffSubsetter
- Produces a minimal CFF table containing only requested glyphs.
- FontFaceData
- Common shape for a parsed font face — the fields any downstream
consumer needs to lay out, shape, and embed text.
- GsubParser
- Parses GSUB (Glyph Substitution) table for ligature features.
- KerningParser
- Parses kerning data from GPOS table (or legacy kern table).
- MathConstants
- Parsed MathConstants sub-table from an OpenType MATH table.
- MathConstantsParser
- Parser for the MathConstants sub-table of an OpenType MATH table.
- MathGlyphAssembly
- Recipe for building a stretchy delimiter from glyph parts.
- MathGlyphConstruction
- One stretchy delimiter recipe from a {@see MathVariants} table.
- MathGlyphInfo
- Parsed MathGlyphInfo sub-table from an OpenType MATH table.
- MathGlyphInfoParser
- Parser for the MathGlyphInfo sub-table of an OpenType MATH table.
- MathKern
- One corner kern table from a {@see MathKernRecord}.
- MathKernInfo
- Parsed MathKernInfo sub-table from an OpenType MATH table.
- MathKernInfoParser
- Parser for the MathKernInfo sub-table of an OpenType MATH table.
- MathKernRecord
- Per-glyph corner kern table. Up to four corner-specific kern
tables; each corner is null when the font supplies no kerning
for that corner.
- MathTableData
- Parsed `MATH` table from an OpenType math font (Latin Modern Math,
STIX Two Math, Cambria Math, ...). Defined in the OpenType spec
https://learn.microsoft.com/en-us/typography/opentype/spec/math.
- MathVariants
- Parsed MathVariants sub-table from an OpenType MATH table.
- MathVariantsParser
- Parser for the MathVariants sub-table of an OpenType MATH table.
- OpenTypeData
- Parsed OpenType CFF font data — metrics, glyph widths, and raw CFF bytes.
- OpenTypeParser
- Parser for OpenType fonts with CFF outlines (sfVersion "OTTO").
- TextShaper
- Simple text shaper for Latin ligature substitution.
- TrueTypeData
- Common shape for a parsed font face — the fields any downstream
consumer needs to lay out, shape, and embed text.
- TrueTypeParser
- TrueTypeSubsetter
- Produces a minimal valid TrueType font containing only requested glyphs.
- Type1Data
- Parsed data from a Type 1 font (PFB/PFA).
- Type1Parser
- Parses Type 1 font files (PFB binary and PFA ASCII formats).
- Woff2Parser
- WOFF 2.0 (Web Open Font Format 2.0) decompressor.
- WoffParser
- WOFF (Web Open Font Format 1.0) decompressor.