|
|
@ -628,8 +628,8 @@ namespace Gui
|
|
|
|
|
|
|
|
|
|
|
|
if (lowerName == Misc::StringUtils::lowerCase(Fallback::Map::getString("Fonts_Font_0")))
|
|
|
|
if (lowerName == Misc::StringUtils::lowerCase(Fallback::Map::getString("Fonts_Font_0")))
|
|
|
|
return "DefaultFont";
|
|
|
|
return "DefaultFont";
|
|
|
|
if (lowerName == Misc::StringUtils::lowerCase(Fallback::Map::getString("Fonts_Font_1")))
|
|
|
|
if (lowerName == "dejavusansmono")
|
|
|
|
return "MonoFont";
|
|
|
|
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")))
|
|
|
|
if (lowerName == Misc::StringUtils::lowerCase(Fallback::Map::getString("Fonts_Font_2")))
|
|
|
|
return "ScrollFont";
|
|
|
|
return "ScrollFont";
|
|
|
|
|
|
|
|
|
|
|
@ -644,8 +644,6 @@ namespace Gui
|
|
|
|
return "DefaultFont";
|
|
|
|
return "DefaultFont";
|
|
|
|
if (lowerFace == "daedric")
|
|
|
|
if (lowerFace == "daedric")
|
|
|
|
return "ScrollFont";
|
|
|
|
return "ScrollFont";
|
|
|
|
if (lowerFace == "century gothic")
|
|
|
|
|
|
|
|
return "MonoFont";
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
return face;
|
|
|
|
return face;
|
|
|
|
}
|
|
|
|
}
|
|
|
|