diff options
author | CrystalP <crystalp@kodi.tv> | 2024-03-17 21:01:49 -0400 |
---|---|---|
committer | CrystalP <crystalp@kodi.tv> | 2024-03-17 21:01:49 -0400 |
commit | 94d97448db3b7f11b5e55bbd80abc72ddc3376c7 (patch) | |
tree | 0327a105d28eaf6efb32513618881d9c71eab9bd | |
parent | ac329371f89c66193de4174be4df095af3809de2 (diff) |
[guilib] do not alter font filename case during load
-rw-r--r-- | xbmc/guilib/GUIFontManager.cpp | 5 |
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"); |