New 8-bit Custom Font for Our Games

We have designed our own custom font to be used in games. Both because of vague licensing texts of existing and suitable fonts, and because completely free fonts were lacking specific characters.

It is an amalgamation of several fonts used in old adventure and computer terminals. When it is rendered at font size 8, it maintains its pixel-perfect rendition even when scaled up to higher resolutions. We wanted both regular and monospaced versions of the same font for consistency throughout our games. In narrative text you want justified letters, and in score tickers you want monospaced characters.

Below you can see how the regular font looks better in sentences.

Regular font
Regular font as seen in games.
Monospaced font
Monospaced font used for high score tables.

But in high score tables, the monospaced font is better suited. The text is the exact same characters, spaces and all, and the monospaced font looks a lot better, and the characters are identical with spacing being the only difference.

high score table
A high score table with both fonts.

Using a visual design tool and trying to stop the mouse at the perfect spot for the position to be evenly divisible by the pixel grid is extremely difficult if you need to do it for every character. It is simpler to design it using a binary pixel grid so we wrote our own Python program to design the font pixel by pixel. Then the program "traces" around the matrix and generates the contours of the font making it sharp without blur at the corners.

design-tool
A and B as they are defined by code.

It looks like JSON but it is a Python dict.