diff options
author | Einar Johan Trøan Sømåen | 2014-04-17 11:15:24 +0200 |
---|---|---|
committer | Einar Johan Trøan Sømåen | 2014-04-17 11:15:24 +0200 |
commit | 3377784b35c2da6634c76eaf3693b38554e05d5a (patch) | |
tree | e994d34e51b2b8a7b6f18d83e8d3a2a986dff93c /engines | |
parent | ac2c5ff084a6d2f74473e144662facc7a9a3006a (diff) | |
download | scummvm-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.cpp | 2 |
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) |