mirror of
https://github.com/libretro/scummvm.git
synced 2024-12-14 13:50:13 +00:00
PINK: Don't delete hebrew font in Screen
This commit is contained in:
parent
01d264569c
commit
afaef26fde
@ -106,15 +106,15 @@ Screen::Screen(PinkEngine *vm)
|
||||
_wm->setEngineRedrawCallback(this, redrawCallback);
|
||||
|
||||
_textFont = nullptr;
|
||||
|
||||
_textFontCleanup = true;
|
||||
#ifdef USE_FREETYPE2
|
||||
if (vm->getLanguage() == Common::HE_ISR) {
|
||||
_textFont = _wm->_fontMan->getFont(Graphics::MacFont(Graphics::kMacFontChicago, 12, Graphics::kMacFontRegular));
|
||||
_textFontCleanup = false;
|
||||
} else {
|
||||
_textFont = Graphics::loadTTFFontFromArchive("system.ttf", 16);
|
||||
}
|
||||
#endif
|
||||
_textFontCleanup = true;
|
||||
|
||||
if (!_textFont) {
|
||||
_textFont = FontMan.getFontByUsage(Graphics::FontManager::kBigGUIFont);
|
||||
|
Loading…
Reference in New Issue
Block a user