aboutsummaryrefslogtreecommitdiff
path: root/engines
diff options
context:
space:
mode:
authorEinar Johan Trøan Sømåen2014-04-17 11:15:24 +0200
committerEinar Johan Trøan Sømåen2014-04-17 11:15:24 +0200
commit3377784b35c2da6634c76eaf3693b38554e05d5a (patch)
treee994d34e51b2b8a7b6f18d83e8d3a2a986dff93c /engines
parentac2c5ff084a6d2f74473e144662facc7a9a3006a (diff)
downloadscummvm-rg350-3377784b35c2da6634c76eaf3693b38554e05d5a.tar.gz
scummvm-rg350-3377784b35c2da6634c76eaf3693b38554e05d5a.tar.bz2
scummvm-rg350-3377784b35c2da6634c76eaf3693b38554e05d5a.zip
WINTERMUTE: Add a warning when loading TTF-fonts without FreeType2-support.
Diffstat (limited to 'engines')
-rw-r--r--engines/wintermute/base/font/base_font_truetype.cpp2
1 files changed, 2 insertions, 0 deletions
diff --git a/engines/wintermute/base/font/base_font_truetype.cpp b/engines/wintermute/base/font/base_font_truetype.cpp
index c5a1e91ef5..df9a8648db 100644
--- a/engines/wintermute/base/font/base_font_truetype.cpp
+++ b/engines/wintermute/base/font/base_font_truetype.cpp
@@ -625,6 +625,8 @@ bool BaseFontTT::initFont() {
warning("Looking for %s", fontName.c_str());
_font = FontMan.getFontByName(fontName);
}
+#else
+ warning("BaseFontTT::InitFont - FreeType2-support not compiled in, TTF-fonts will not be loaded");
#endif // USE_FREETYPE2
// Fallback4: Just use the Big GUI-font. (REALLY undesireable)