Moved the Ubuntu Condensed font higher in the loading order

This commit is contained in:
Leon Styhre 2024-07-24 11:47:12 +02:00
parent d55ddf61c5
commit 076709b239

View file

@ -509,6 +509,8 @@ std::vector<std::string> Font::getFallbackFontPaths()
ResourceManager::getInstance().getResourcePath(":/fonts/Akrobat-SemiBold.ttf");
ResourceManager::getInstance().getResourcePath(":/fonts/Akrobat-Bold.ttf");
// Ubuntu Condensed.
fontPaths.push_back(ResourceManager::getInstance().getResourcePath(":/fonts/Ubuntu-C.ttf"));
// Vera sans Unicode.
fontPaths.push_back(ResourceManager::getInstance().getResourcePath(":/fonts/DejaVuSans.ttf"));
// GNU FreeFont monospaced.
@ -522,8 +524,6 @@ std::vector<std::string> Font::getFallbackFontPaths()
// Font Awesome icon glyphs, used for various special symbols like stars, folders etc.
fontPaths.push_back(
ResourceManager::getInstance().getResourcePath(":/fonts/fontawesome-webfont.ttf"));
// This is only needed for some really rare special characters.
fontPaths.push_back(ResourceManager::getInstance().getResourcePath(":/fonts/Ubuntu-C.ttf"));
// Google Noto Emoji.
fontPaths.push_back(ResourceManager::getInstance().getResourcePath(":/fonts/NotoEmoji.ttf"));