poka.sh

Docs

PCF

Generated by scripts/gen-format-pages.py from docs/data/format-metadata/, FILE_FORMATS.csv and docs/formats-master.csv. Do not edit by hand: change the source, then run the script.

X11 PCF Font Preview.

At a glance

Purpose An X11 Portable Compiled Format (PCF) bitmap font: a table of contents and binary tables of properties, metrics, bitmaps and encodings.
Extensions .pcf
Poka parser poka-font
Viewer poka-font-viewer
Depth tier Parser with a shared viewer (see Depth tiers)
Breadth tier B4 Summary (see Breadth tiers)

How much Poka reads

B4 Summary. The container and metadata are read and summarised (counts, properties, structure), but the main content is not rendered.

Confidence: medium (the reviewer read the code). Basis: Reviewed 2026-10-26: read parsers/poka-pcf/src/main.rs (310 lines) and plugin.json. No unit tests or tests/samples.rs; the corpus has no .pcf and .pcf-font sample. Covers .pcf and .pcf-font. The card checks the magic, lists the tables present and shows the encoding column and row ranges and the glyph count from the bitmap table. Judgement: B4: the font's table structure is summarised, but no glyph is drawn and the properties are not shown.

What Poka does not read

  • Glyph bitmaps are not drawn
  • The properties table (the XLFD name, family, weight) is not decoded
  • Metrics, ink metrics, accelerators and glyph names are not read
  • Compressed .pcf.gz fonts are not read here

Libraries

Libraries Poka uses or has assessed for this format, with the status, licence and language the registry records.

Sources

  • parsers/poka-pcf/src/main.rs
  • parsers/poka-pcf/plugin.json