mirror of
https://github.com/OpenMW/openmw.git
synced 2025-03-31 18:06:41 +00:00
Do not override monospace font
This commit is contained in:
parent
dc0d6fe31d
commit
1f864e3127
1 changed files with 2 additions and 4 deletions
|
@ -628,8 +628,8 @@ namespace Gui
|
|||
|
||||
if (lowerName == Misc::StringUtils::lowerCase(Fallback::Map::getString("Fonts_Font_0")))
|
||||
return "DefaultFont";
|
||||
if (lowerName == Misc::StringUtils::lowerCase(Fallback::Map::getString("Fonts_Font_1")))
|
||||
return "MonoFont";
|
||||
if (lowerName == "dejavusansmono")
|
||||
return "MonoFont"; // We need to use a TrueType monospace font to display debug texts properly.
|
||||
if (lowerName == Misc::StringUtils::lowerCase(Fallback::Map::getString("Fonts_Font_2")))
|
||||
return "ScrollFont";
|
||||
|
||||
|
@ -644,8 +644,6 @@ namespace Gui
|
|||
return "DefaultFont";
|
||||
if (lowerFace == "daedric")
|
||||
return "ScrollFont";
|
||||
if (lowerFace == "century gothic")
|
||||
return "MonoFont";
|
||||
|
||||
return face;
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue