From 3377784b35c2da6634c76eaf3693b38554e05d5a Mon Sep 17 00:00:00 2001 From: Einar Johan Trøan Sømåen Date: Thu, 17 Apr 2014 11:15:24 +0200 Subject: WINTERMUTE: Add a warning when loading TTF-fonts without FreeType2-support. --- engines/wintermute/base/font/base_font_truetype.cpp | 2 ++ 1 file changed, 2 insertions(+) (limited to 'engines') 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) -- cgit v1.2.3