mirror of
https://github.com/ZDoom/gzdoom.git
synced 2024-11-29 23:33:00 +00:00
Go back to the hex font for now
This commit is contained in:
parent
d94eb5cb31
commit
494ec1b3f9
1 changed files with 3 additions and 3 deletions
|
@ -875,12 +875,12 @@ void V_InitFonts()
|
||||||
auto lump = fileSystem.CheckNumForFullName("newconsolefont.hex", 0); // This is always loaded from gzdoom.pk3 to prevent overriding it with incomplete replacements.
|
auto lump = fileSystem.CheckNumForFullName("newconsolefont.hex", 0); // This is always loaded from gzdoom.pk3 to prevent overriding it with incomplete replacements.
|
||||||
if (lump == -1) I_FatalError("newconsolefont.hex not found"); // This font is needed - do not start up without it.
|
if (lump == -1) I_FatalError("newconsolefont.hex not found"); // This font is needed - do not start up without it.
|
||||||
NewConsoleFont = CreateHexLumpFont("NewConsoleFont", lump);
|
NewConsoleFont = CreateHexLumpFont("NewConsoleFont", lump);
|
||||||
//NewSmallFont = CreateHexLumpFont2("NewSmallFont", lump);
|
NewSmallFont = CreateHexLumpFont2("NewSmallFont", lump);
|
||||||
|
/*
|
||||||
lump = fileSystem.CheckNumForFullName("newmenufont.ttf", 0); // This is always loaded from gzdoom.pk3 to prevent overriding it with incomplete replacements.
|
lump = fileSystem.CheckNumForFullName("newmenufont.ttf", 0); // This is always loaded from gzdoom.pk3 to prevent overriding it with incomplete replacements.
|
||||||
if (lump == -1) I_FatalError("newmenufont.ttf not found"); // This font is needed - do not start up without it.
|
if (lump == -1) I_FatalError("newmenufont.ttf not found"); // This font is needed - do not start up without it.
|
||||||
NewSmallFont = CreateTTFFont("NewSmallFont", 18, lump);
|
NewSmallFont = CreateTTFFont("NewSmallFont", 18, lump);
|
||||||
|
*/
|
||||||
CurrentConsoleFont = NewConsoleFont;
|
CurrentConsoleFont = NewConsoleFont;
|
||||||
ConFont = V_GetFont("ConsoleFont", "CONFONT");
|
ConFont = V_GetFont("ConsoleFont", "CONFONT");
|
||||||
V_GetFont("IndexFont", "INDEXFON"); // detect potential replacements for this one.
|
V_GetFont("IndexFont", "INDEXFON"); // detect potential replacements for this one.
|
||||||
|
|
Loading…
Reference in a new issue