aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorCrystalP <crystalp@kodi.tv>2024-03-17 21:01:49 -0400
committerCrystalP <crystalp@kodi.tv>2024-03-17 21:01:49 -0400
commit94d97448db3b7f11b5e55bbd80abc72ddc3376c7 (patch)
tree0327a105d28eaf6efb32513618881d9c71eab9bd
parentac329371f89c66193de4174be4df095af3809de2 (diff)
[guilib] do not alter font filename case during load
-rw-r--r--xbmc/guilib/GUIFontManager.cpp5
1 files changed, 1 insertions, 4 deletions
diff --git a/xbmc/guilib/GUIFontManager.cpp b/xbmc/guilib/GUIFontManager.cpp
index f5c0732c93..9170cc0406 100644
--- a/xbmc/guilib/GUIFontManager.cpp
+++ b/xbmc/guilib/GUIFontManager.cpp
@@ -507,10 +507,7 @@ void GUIFontManager::LoadFonts(const TiXmlNode* fontNode)
if (!fontName.empty() && URIUtils::HasExtension(fileName, ".ttf"))
{
- //! @todo Why do we tolower() this shit?
- std::string strFontFileName = fileName;
- StringUtils::ToLower(strFontFileName);
- LoadTTF(fontName, strFontFileName, textColor, shadowColor, iSize, iStyle, false, lineSpacing,
+ LoadTTF(fontName, fileName, textColor, shadowColor, iSize, iStyle, false, lineSpacing,
aspect);
}
fontNode = fontNode->NextSibling("font");