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

NameTypeAccessDescription
cffBytesbyte[]ReadOriginal CFF bytes (verbatim — handy for the OTF wrapper).
fontNameStringReadPostScript font name from the Name INDEX (first entry).
numGlyphsintReadNumber of glyphs (size of CharStrings INDEX).
glyphNamesString[]ReadGlyph-id → glyph-name table (length == numGlyphs; index 0 is always “.notdef”).

Methods

SignatureDescription
CFFParser(data: byte[])Parses a CFF stream.

See Also