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:
Torbjörn Andersson committed 2024-03-03 19:49:00 +01:00
1 parent 5117adc24c
commit d7e00a9f87
1 file changed
+1 -1
+1 -1
View File
@@ -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;
}
}