zxdream-font¶
A Unicode TTF font with the glyph layout of the ZX81's 8×8 character generator, plus PSF2 console fonts and BDFs in several cell sizes:
- ZXDream — a faithful 8×8 bitmap raster: every glyph is exactly the pixel shape the ZX81 renders, delivered as a pixel-exact TTF (plus a WOFF2 build for the web) with a bit-exact raster validator.
- ZXDream-8/16/32/44/45/50 — console (PSF2) and BDF variants scaled from the same 8×8 masters.
It was created so that ZX81 content (screens, listings, editor mockups) can be typeset on modern systems without losing the machine's typography.
Features¶
- One glyph layout everywhere, the 8×8 masters as the single source of truth.
- Pixel-exact TTF cells, validated by a raster comparison tool against the original 8×8 data.
- Full ZX81 character set mapped to Unicode (block graphics mapped to Unicode block elements).
- Generator and validator included; no manual font-editing steps.
- Makefile-driven builds with install/uninstall/zip targets.
Prerequisites¶
- GNU make and a C compiler (
cc) for the test suite. - Python 3 with
fontTools(plusbrotlifor the WOFF2 build) for the PSF/BDF/WOFF2 generators. - FontForge with Python scripting (
fontforge -lang=py) for the TTF build.
Usage¶
Build the font and validate the bitmap raster:
make # builds ZXDream.ttf and the console/BDF fonts
make test # bit-exact raster validation against the source data
Install for your user (or system-wide with PREFIX):
make install # default PREFIX: ~/.local (root: /usr/local)
make install PREFIX=/usr
make uninstall
Then use the fonts in any application, e.g. to render a ZX81 listing:
pango-view --font "ZXDream 16" -t 'PRINT "HELLO"'
See SPEC.md for the glyph construction rules and the validation
method.
Console (setfont)¶
After make install (system-wide for persistence, see below):
setfont /usr/local/share/consolefonts/ZXDream-50.psfu # or 8/16/32/44/45
showconsolefont # dump the loaded font as a test grid
Run setfont on a real VT console (Ctrl+Alt+F3 …), not from inside
X/Wayland. To make it persistent across boots, use a system install
(sudo make install, lands in /usr/share/consolefonts) and set in
/etc/vconsole.conf:
FONT=ZXDream-50
Which size fits which vertical resolution¶
The ZX81 screen grid is 32×24 characters. All sizes render that grid losslessly; the question is which cell height fills your console's vertical resolution (24 × size px):
| Size | Grid (px) | Vertical resolution |
|---|---|---|
| 8×8 | 256×192 | any (tiny) |
| 16×16 | 512×384 | 384 exact (e.g. 720p console margin) |
| 32×32 | 1024×768 | 768 exact |
| 44×44 | 1408×1056 | ~1056: 1080p with a small margin |
| 45×45 | 1440×1080 | 1080 exact (1920×1080 full HD) |
| 50×50 | 1600×1200 | 1200 exact (1920×1200 WUXGA) |
If the cell is taller than the console has rows, fbcon silently shows fewer rows (whole cells only; it never splits a character across rows).
Download¶
- Release build:
zxdream-font-2026-12-04.zip(version = release date) - Release notes: releasenotes/
License¶
MIT — see https://opensource.org/license/mit.
Contact¶
devel ät datenbrei.de
Download & Release Notes¶
- Download:
zxdream-font-2026-12-04.zip(version = release date) - Release Notes: releasenotes/