1
0
mirror of https://github.com/vcmi/vcmi.git synced 2025-11-23 22:37:55 +02:00

possibility to add fonts at end of the font chain

This commit is contained in:
Laserlicht
2025-02-15 19:52:59 +01:00
parent e9dc9f81b8
commit 091477aebc
3 changed files with 7 additions and 4 deletions

View File

@@ -494,7 +494,7 @@ std::shared_ptr<const IFont> RenderHandler::loadFont(EFonts font)
bitmapPath = bmpConf[index].String();
if (!ttfConf[bitmapPath].isNull())
loadedFont->addTrueTypeFont(ttfConf[bitmapPath]);
loadedFont->addTrueTypeFont(ttfConf[bitmapPath], !config["lowPriority"].Bool());
}
loadedFont->addBitmapFont(bitmapPath);