mirror of
https://github.com/libretro/scummvm.git
synced 2024-12-05 00:36:57 +00:00
GUI: Added possibility to disable BDF font scaling
Specify "gui_disable_fixed_font_scaling". The checkbox in the GUI will follow
This commit is contained in:
parent
7b6b6a5541
commit
308e2fd340
@ -1780,7 +1780,8 @@ const Graphics::Font *ThemeEngine::loadFont(const Common::String &filename, cons
|
||||
if (!font && allowNonScalable) {
|
||||
font = loadFont(filename, fontName);
|
||||
|
||||
font = Graphics::BdfFont::scaleFont((const Graphics::BdfFont *)font, pointsize);
|
||||
if (!ConfMan.getBool("gui_disable_fixed_font_scaling"))
|
||||
font = Graphics::BdfFont::scaleFont((const Graphics::BdfFont *)font, pointsize);
|
||||
}
|
||||
|
||||
// If the font is successfully loaded store it in the font manager.
|
||||
|
Loading…
Reference in New Issue
Block a user