aboutsummaryrefslogtreecommitdiff
path: root/graphics/macgui
diff options
context:
space:
mode:
Diffstat (limited to 'graphics/macgui')
-rw-r--r--graphics/macgui/macfontmanager.cpp4
1 files changed, 3 insertions, 1 deletions
diff --git a/graphics/macgui/macfontmanager.cpp b/graphics/macgui/macfontmanager.cpp
index 4faafa4054..259fd157eb 100644
--- a/graphics/macgui/macfontmanager.cpp
+++ b/graphics/macgui/macfontmanager.cpp
@@ -284,11 +284,13 @@ const Font *MacFontManager::getFont(MacFont macFont) {
}
}
- if (_builtInFonts || !font) {
+#ifdef USE_FREETYPE2
+ if (!font) {
if (_mode & kWMModeUnicode) {
font = Graphics::loadTTFFontFromArchive("FreeSans.ttf", 16, Graphics::kTTFSizeModeCell, 0, Graphics::kTTFRenderModeMonochrome);
}
}
+#endif
if (!font)
font = FontMan.getFontByUsage(macFont.getFallback());