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.

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