Reorganized some per-language menu title font size entries

This commit is contained in:
Leon Styhre 2024-07-29 11:25:38 +02:00
parent 84ddb1c136
commit 4c1b5fde3c

View file

@ -180,16 +180,20 @@ namespace Utils
} }
// Language-specific menu title scale factor. // Language-specific menu title scale factor.
if (localePair.first == "sv") if (localePair.first == "el")
sMenuTitleScaleFactor = 0.87f;
else if (localePair.first == "el")
sMenuTitleScaleFactor = 0.94f; sMenuTitleScaleFactor = 0.94f;
else if (localePair.first == "es")
sMenuTitleScaleFactor = 0.90f;
else if (localePair.first == "fr")
sMenuTitleScaleFactor = 0.90f;
else if (localePair.first == "pt") else if (localePair.first == "pt")
sMenuTitleScaleFactor = 0.90f; sMenuTitleScaleFactor = 0.90f;
else if (localePair.first == "zh") else if (localePair.first == "sv")
sMenuTitleScaleFactor = 0.94f; sMenuTitleScaleFactor = 0.87f;
else if (localePair.first == "ja") else if (localePair.first == "ja")
sMenuTitleScaleFactor = 0.94f; sMenuTitleScaleFactor = 0.94f;
else if (localePair.first == "zh")
sMenuTitleScaleFactor = 0.94f;
std::string localePath; std::string localePath;
localePath.append("/") localePath.append("/")