A Python script that generates fonts which display text as tiny binary digits (0s and 1s).
Each character is represented as its 8-bit binary value, with the bits arranged in configurable grid layouts:
- 8x1: 8 bits horizontally
- 1x8: 8 bits vertically
- 2x4: 2 columns × 4 rows
- 4x2: 4 columns × 2 rows
uv venv
source .venv/bin/activate
uv pip install fonttoolspython main.pyThis generates 4 TrueType fonts in the current directory:
BinaryTypeface_8x1.ttfBinaryTypeface_1x8.ttfBinaryTypeface_2x4.ttfBinaryTypeface_4x2.ttf
The letter 'A' (ASCII 65 = 0b01000001) displays as tiny 0s and 1s arranged in your chosen grid pattern. Each glyph is a visual representation of its byte value.



