diff options
Diffstat (limited to 'engines/director')
-rw-r--r-- | engines/director/frame.cpp | 2 | ||||
-rw-r--r-- | engines/director/score.cpp | 2 |
2 files changed, 3 insertions, 1 deletions
diff --git a/engines/director/frame.cpp b/engines/director/frame.cpp index 68c7cdd03d..94bb46201b 100644 --- a/engines/director/frame.cpp +++ b/engines/director/frame.cpp @@ -868,7 +868,7 @@ void Frame::renderText(Graphics::ManagedSurface &surface, uint16 spriteId, Commo if (_vm->_currentScore->_fontMap.contains(textCast->fontId)) { // We need to make sure that teh Shared Cast fonts have been loaded in? //might need a mapping table here of our own. - textCast->fontId = _vm->_wm->_fontMan->getFontIdByName(_vm->_currentScore->_fontMap[textCast->fontId]); + //textCast->fontId = _vm->_wm->_fontMan->getFontIdByName(_vm->_currentScore->_fontMap[textCast->fontId]); } Graphics::MacFont macFont = Graphics::MacFont(textCast->fontId, textCast->fontSize, textCast->textSlant); diff --git a/engines/director/score.cpp b/engines/director/score.cpp index 778f715901..a757fdd07b 100644 --- a/engines/director/score.cpp +++ b/engines/director/score.cpp @@ -914,6 +914,8 @@ void Score::loadFontMap(Common::SeekableSubReadStreamEndian &stream) { } _fontMap[id] = font; + _vm->_wm->_fontMan->registerFontMapping(id, font); + debug(3, "Fontmap. ID %d Font %s", id, font.c_str()); currentRawPosition = stream.pos(); stream.seek(positionInfo); |