diff options
author | Eugene Sandulenko | 2016-10-06 07:33:46 +0200 |
---|---|---|
committer | Eugene Sandulenko | 2016-10-06 07:33:46 +0200 |
commit | 0d4d5459f27abaac7d41288583acc80b2a5ad9fb (patch) | |
tree | 298c2c0df13ea8138c49c2b5d2298a703ee00582 /graphics/macgui | |
parent | 07316afaa423a95308364290554379491317909d (diff) | |
download | scummvm-rg350-0d4d5459f27abaac7d41288583acc80b2a5ad9fb.tar.gz scummvm-rg350-0d4d5459f27abaac7d41288583acc80b2a5ad9fb.tar.bz2 scummvm-rg350-0d4d5459f27abaac7d41288583acc80b2a5ad9fb.zip |
GRAPHICS: Use Family name instead of font name when reading from BDF fonts
Diffstat (limited to 'graphics/macgui')
-rw-r--r-- | graphics/macgui/macwindowmanager.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/graphics/macgui/macwindowmanager.cpp b/graphics/macgui/macwindowmanager.cpp index f0f821d313..a6854663d6 100644 --- a/graphics/macgui/macwindowmanager.cpp +++ b/graphics/macgui/macwindowmanager.cpp @@ -348,8 +348,8 @@ void MacWindowManager::loadFonts() { delete stream; Common::String fontName; - if (font->getFaceName() && *font->getFaceName()) { - fontName = font->getFaceName(); + if (font->getFamilyName() && *font->getFamilyName()) { + fontName = font->getFamilyName(); } else { // Get it from the file name fontName = (*it)->getName(); |