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:
@@ -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);
|
||||
|
||||
|
||||
Reference in New Issue
Block a user