FON1

A FON1 font, or console font, contains a set of 256 grayscaled, monospaced characters. It begins with a header of this form:

OffsetLengthNameContent
0x00004*1IdentifierThe characters 'F', 'O', 'N', and '1'.
0x00042WidthUnsigned value for character width.
0x00062HeightUnsigned value for character height.
0x0008*DataRLE-compressed data for all characters in sequence.

The data create a Width × (Height × 256) grayscale image in which the glyphs are in sequence from top to bottom. The darkest color, 0x00, is transparent.

ZDoom provides a FON1 font in a file named confont.lmp in zdoom.pk3. This is used for the console font.

This article is issued from Zdoom. The text is licensed under Creative Commons - Attribution - Sharealike. Additional terms may apply for the media files.