IT lexicon › Infra & Ops › PCF

PCF

Infra & Ops På svenska → Updated: 2026-10-08
More info
Creator
MIT X Consortium
Released
1991 (X11R5)
Type
Bitmap font file format
Successor
Xft

Portable Compiled Format, the binary font format the X server loaded its bitmap fonts from, starting with X11R5 in 1991 — BDF that the machine doesn't have to parse.

BDF is text and slow to read, so X11R4 compiled fonts into SNF, Server Natural Format, which was stored in the server's own byte order and therefore could not be moved between a Sun and a VAX. X11R5 replaced it in 1991 with PCF, whose header records both byte and bit order so that any server can read any file and swap it on the fly. Hence the name. The bdftopcf tool does the conversion, the file consists of tables for properties, metrics, bitmaps, encodings and glyph names, and the server happily reads the gzipped .pcf.gz variant directly.

Together with XLFD names and the fonts.dir index, PCF was the core of X's font handling for fifteen years, both locally and through the xfs font server. Xft moved rendering to the client and FreeType, and most fonts became TrueType and OpenType. But FreeType can read PCF, so misc-fixed, Terminus and the other crisp terminal fonts live on in the format, now via fontconfig rather than the server's font path.

← Back to the lexicon