poka.sh

Docs

FNT

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.

Windows Raster FNT Preview.

At a glance

Purpose A Windows raster font resource (.fnt, versions 1 to 3): a bitmap font with a header and per-character bitmaps.
Extensions .fnt
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-fnt/src/main.rs (314 lines) and plugin.json. No unit tests or tests/samples.rs; the corpus has no .fnt sample. Covers .fnt. The card decodes the FNT header: version, size, face and device names, copyright, raster or vector kind, point size, resolution, pixel cell, widths, ascent, weight, style, charset, family and pitch, glyph range, default and break characters and the bits offset. Judgement: B4: the header is decoded in full, but no glyph is drawn.

What Poka does not read

  • Glyph bitmaps are not drawn
  • The character table (per-glyph widths and offsets) is not read
  • Vector fonts are named but their strokes are not decoded
  • Files over 16 MiB are cut (flagged)

Libraries

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

  • FreeType (winfnt driver) (candidate; FTL OR GPL-2.0; C; https://freetype.org/freetype2/docs/ft2faq.html) — FAQ lists Windows FON/FNT as supported; licence from freetype.org/license.html
  • Font::FNT (candidate; licence unconfirmed; Perl; https://metacpan.org/pod/Font::FNT) — Loads Windows 3.00 .FNT files; v0.02 from 2004; POD says same terms as Perl itself, MetaCPAN metadata lists licence as unknown

Sources

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