mirror of
https://github.com/scummvm/scummvm.git
synced 2026-06-20 05:45:29 +00:00
SCUMM: No longer register the Indy and Loom fonts
With the recent change to the Mac font manager, the font is registered when it's loaded. All we need is the correct ID, because we don't want to hard code that.
This commit is contained in:
1 parent
5117adc24c
commit
d7e00a9f87
1 file changed
+1
-1
@@ -233,7 +233,7 @@ void MacGuiImpl::initialize() {
|
||||
|
||||
for (uint i = 0; i < fontFamilies.size(); i++) {
|
||||
if (fontFamilies[i]->getName() == fontFamily) {
|
||||
_gameFontId = _windowManager->_fontMan->registerFontName(fontFamily, fontFamilies[i]->getFontFamilyId());
|
||||
_gameFontId = fontFamilies[i]->getFontFamilyId();
|
||||
break;
|
||||
}
|
||||
}
|
||||
|
||||
Reference in new issue
Block a user