Jump to content

Compact Font Format

From Wikipedia, the free encyclopedia

This is an old revision of this page, as edited by Feralfeline (talk | contribs) at 23:52, 11 August 2007 (Jargon loaded). The present address (URL) is a permanent link to this revision, which may differ significantly from the current revision.

Compact Font Format (also known as CFF font format, Type 2 font format, or CFF/Type 2 font format) is a font format specification developed by Adobe. It occupies less storage space than Type 1 fonts. Storage space usage is lowered by using operators with multiple arguments, various pre-defined default values, more efficient allotment of encoding values and shared subroutines among FontSet (family of fonts). OpenType fonts can also contain glyph outlines in a CFF table.

CFF is designed to use with the Type 2 charstring format. It forms the basis for the Type 1 OpenType font format.

CFF fonts can be embedded in PDF files, starting with PDF version 1.2. Type 2 charstring font format and CID-keyed font format can be used together for CID-keyed OpenType fonts.

A Type 1 font can be converted into CFF/Type2 format, and back to Type 1 again, without any loss of quality.

Windows Presentation Foundation (formerly codenamed Avalon) in Windows Vista supports rasterizing OpenType CFF/Type 2 fonts, whereas Type 1 fonts will still be supported in GDI+.

See also