CFFParser
Overview
CFFParser is a class in Aspose.Pdf FOSS for Java.
Minimal parser for the Compact Font Format (CFF) — Adobe Technical Note #5176.
Properties
| Name | Type | Access | Description |
|---|---|---|---|
cffBytes | byte[] | Read | Original CFF bytes (verbatim — handy for the OTF wrapper). |
fontName | String | Read | PostScript font name from the Name INDEX (first entry). |
numGlyphs | int | Read | Number of glyphs (size of CharStrings INDEX). |
glyphNames | String[] | Read | Glyph-id → glyph-name table (length == numGlyphs; index 0 is always “.notdef”). |
Methods
| Signature | Description |
|---|---|
CFFParser(data: byte[]) | Parses a CFF stream. |