summaryrefslogtreecommitdiff
path: root/src/strings.cpp
diff options
context:
space:
mode:
authorrubidium <rubidium@openttd.org>2011-11-20 11:59:36 +0000
committerrubidium <rubidium@openttd.org>2011-11-20 11:59:36 +0000
commit9512838a5e9a4ad6f008bd0423e1056eb15cb242 (patch)
tree34a18d2fdc79c98112a384928b4c95fe7553a632 /src/strings.cpp
parentdfefcab47d563a7274ab8f410a8dcf2abc53cd62 (diff)
downloadopenttd-9512838a5e9a4ad6f008bd0423e1056eb15cb242.tar.xz
(svn r23275) -Codechange: allow loading of the monospace (freetype) font at another moment than the other fonts
Diffstat (limited to 'src/strings.cpp')
-rw-r--r--src/strings.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/strings.cpp b/src/strings.cpp
index dd549bdfc..eadde4edc 100644
--- a/src/strings.cpp
+++ b/src/strings.cpp
@@ -1750,7 +1750,7 @@ const char *GetCurrentLanguageIsoCode()
*/
bool MissingGlyphSearcher::FindMissingGlyphs(const char **str)
{
- InitFreeType();
+ InitFreeType(false);
const Sprite *question_mark[FS_END];
for (FontSize size = FS_BEGIN; size < FS_END; size++) {
@@ -1856,7 +1856,7 @@ void CheckForMissingGlyphs(bool base_font, MissingGlyphSearcher *searcher)
/* Our fallback font does miss characters too, so keep the
* user chosen font as that is more likely to be any good than
* the wild guess we made */
- InitFreeType();
+ InitFreeType(false);
}
}
#endif