Font

From ZDoom Wiki
Jump to: navigation, search

ZDoom uses fonts in several font formats for console messages, menu titles and options, HUD messages and so on. By default, ZDoom defines five fonts directly in the executable:

BIGFONT
Large font used for menus and level names on the intermission screen if graphics are not used instead. Defined from the FONTB* lumps in Heretic and Hexen, the SBIGFONT lump in Strife and the DBIGFONT lump in other games. DBIGFONT and SBIGFONT are provided in zdoom.pk3.
Heretic and Hexen big fonts can be overridden by a font named HBIGFONT. Also, a font named BIGFONT will override the big font for every game.
CONFONT
Fixed width used in the console. Provided in zdoom.pk3.
INDEXFONT
Fixed width, contains characters 0 to 9. Provided in zdoom.pk3.
SMALLFONT
The standard small font. Default. Defined from the FONTA* or STCFN* lumps.
SMALLFONT2
An alternate small font, found only in Strife. In other games, this is an alias to SMALLFONT. Defined from the STBFN* lumps.

Additional composite fonts are added in a default FONTDEFS lump:

HUDFONT_DOOM
HUDFONT_RAVEN
INDEXFONT_RAVEN
INDEXFONT_DOOM
IntermissionFont_Doom

See also