CFF Fonts

Compact Font Format

CFF (Compact Font Format, Adobe Technical Note #5176) is the font format used by Type 1 and OpenType/CFF fonts embedded in PDF documents. CFF fonts encode glyph outlines using a compact binary format with shared subr routines.

CFF in PDF

PDF Type 1 fonts embed their glyph data in CFF format within the font file stream. OpenType fonts with CFF outlines are embedded as CID-keyed fonts in PDF.

DWT97 Processing

Aspose.PDF FOSS for Java includes internal processing utilities for CFF font data as part of the font subsetting and embedding pipeline. These are used automatically when creating documents with embedded fonts.

Font Handling

For developer use, font selection and embedding is managed through the high-level Document and DefaultAppearance APIs. Direct CFF manipulation is an internal implementation detail.

See Also