FON
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 .fon Font Preview.
At a glance
| Purpose | A Windows .fon font file: a 16-bit NE (or PE) executable whose resources are FNT bitmap fonts. |
| Extensions | .fon |
| 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-fon/src/main.rs (321 lines) and plugin.json. No unit tests or tests/samples.rs; the corpus has no .fon and .fnt-windows sample. Covers .fon and .fnt-windows. The card checks the MZ header, finds the NE or PE header and lists the font resources, reading each FNT header for face name, point size and weight. Judgement: B4: the wrapper and its fonts are listed, but no glyph is drawn.
What Poka does not read
- Glyph bitmaps are not drawn
- Only face, size and weight are shown per font; the rest of each FNT header is not
- The FONTDIR resource and version information are not read
- PE-wrapped .fon files are read best-effort (judgement from the code)
Libraries
Libraries Poka uses or has assessed for this format, with the status, licence and language the registry records.
- FreeType (winfonts driver) (candidate; FTL OR GPL-2.0; C; https://freetype.org/freetype2/docs/ft2faq.html) — FAQ lists Windows FON/FNT among supported formats; dual licence confirmed at https://freetype.org/license.html. Rust bindings exist (freetype-rs) but need C.
- dewinfont (candidate; licence unconfirmed; Python; https://www.chiark.greenend.org.uk/~sgtatham/fonts/dewinfont) — Simon Tatham's script extracts bitmap fonts from NE and PE .FON and .FNT; header carries an MIT-style permission notice; unmaintained since 2001-era copyright, no vector fonts.
Sources
- parsers/poka-fon/src/main.rs
- parsers/poka-fon/plugin.json