mirror of
https://github.com/libretro/scummvm.git
synced 2024-12-12 03:56:20 +00:00
GUI: Scale fonts for classic theme
This commit is contained in:
parent
ae89982ded
commit
96b0274fcc
@ -1777,9 +1777,12 @@ const Graphics::Font *ThemeEngine::loadFont(const Common::String &filename, cons
|
||||
#ifdef USE_TRANSLATION
|
||||
allowNonScalable = TransMan.currentIsBuiltinLanguage();
|
||||
#endif
|
||||
if (!font && allowNonScalable)
|
||||
if (!font && allowNonScalable) {
|
||||
font = loadFont(filename, fontName);
|
||||
|
||||
//font = Graphics::BdfFont::scaleFont((const Graphics::BdfFont *)font, pointsize);
|
||||
}
|
||||
|
||||
// If the font is successfully loaded store it in the font manager.
|
||||
if (font) {
|
||||
FontMan.assignFontToName(fontName, font);
|
||||
|
Loading…
Reference in New Issue
Block a user