Skip to content
Novus Examples
bdf1.6 KB

BDF — 5x7 Bitmap Font (digits)

A hand-written 5×7 BDF bitmap font covering the digits, a colon, and space — the classic X11 bitmap-font format, in plain text. A fixture for testing BDF parsers, bitmap-font converters, and retro/embedded rendering.

Preview — first 50 linesbdf
STARTFONT 2.1
COMMENT Novus Examples 5x7 bitmap digit font (sample)
FONT -novus-fixed-medium-r-normal--7-70-75-75-c-50-iso10646-1
SIZE 7 75 75
FONTBOUNDINGBOX 5 7 0 0
STARTPROPERTIES 4
FONT_ASCENT 7
FONT_DESCENT 0
DEFAULT_CHAR 32
SPACING "C"
ENDPROPERTIES
CHARS 12
STARTCHAR space
ENCODING 32
SWIDTH 480 0
DWIDTH 6 0
BBX 5 7 0 0
BITMAP
00
00
00
00
00
00
00
ENDCHAR
STARTCHAR digit0
ENCODING 48
SWIDTH 480 0
DWIDTH 6 0
BBX 5 7 0 0
BITMAP
70
88
98
A8
C8
88
70
ENDCHAR
STARTCHAR digit1
ENCODING 49
SWIDTH 480 0
DWIDTH 6 0
BBX 5 7 0 0
BITMAP
20
60
20
20
182 lines total — download for the full file.

Specifications

Format
BDF (Glyph Bitmap Distribution Format)
Cell Size
5x7
Glyphs
12
Coverage
0-9, colon, space
Spacing
monospace

What is a .bdf file?

BDF (Glyph Bitmap Distribution Format) is a plain-text format for bitmap fonts from the X11 world. Each glyph is described by a small grid of pixels given as hex rows, along with metrics and encoding. It is human-readable and was the standard way to ship fixed-size screen fonts before scalable outlines.

How to use this file

Use an example BDF file to test bitmap-font parsers and converters (for example BDF to PCF, TTF, or a sprite sheet), and retro or embedded rendering pipelines.

How to use this file for testing

“BDF — 5x7 Bitmap Font (digits)” is a deterministic Novus Examples fixture for Conversion testing, Editor testing. The same content exported across many formats and linked as a group, so you can convert one and diff against the expected twin.

Documented properties for this file: BDF (Glyph Bitmap Distribution Format). Compare results against paired or grouped companions on this page when present (clean↔damaged, searchable↔scanned, or format twins) so scores stay reproducible across runs.

Download the file once, keep the path stable in CI or local scripts, and treat the spec table as the contract: dimensions, seeds, field lists, and roles are intentional. Corrupt or invalid samples are labelled as such — expect parsers to fail loudly rather than silently accept them.

Font fixtures carry a small documented glyph set across the common wrappers. Test font loaders, subsetting, and @font-face; the specimen preview renders the glyphs the face actually maps.

Generated by generation/fonts_extra.py. Free for any use, no attribution required — license.