Go back to the hex font for now

This commit is contained in:
nashmuhandes 2023-08-22 07:49:34 +08:00 committed by Christoph Oelckers
parent d94eb5cb31
commit 494ec1b3f9

View file

@ -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.