summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorpeter1138 <peter1138@openttd.org>2017-04-23 09:20:53 +0000
committerpeter1138 <peter1138@openttd.org>2017-04-23 09:20:53 +0000
commit08fe8459c3a9c2d2e998dc07fd2baff5e74dea4c (patch)
tree5a912adcdc1826dbe18a52fcc3142ede53407218 /src
parentc973f65acb31a3b966f4270a72ae8a5d0b970e5b (diff)
downloadopenttd-08fe8459c3a9c2d2e998dc07fd2baff5e74dea4c.tar.xz
(svn r27859) -Revert (r27858): Committed too much :(
Diffstat (limited to 'src')
-rw-r--r--src/fontcache.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/fontcache.cpp b/src/fontcache.cpp
index 9307c2edd..6bea59c10 100644
--- a/src/fontcache.cpp
+++ b/src/fontcache.cpp
@@ -529,7 +529,7 @@ const Sprite *FreeTypeFontCache::GetGlyph(GlyphID key)
return glyph->sprite;
}
}
- FT_Load_Glyph(this->face, key, FT_LOAD_NO_HINTING);
+ FT_Load_Glyph(this->face, key, FT_LOAD_DEFAULT);
FT_Render_Glyph(this->face->glyph, aa ? FT_RENDER_MODE_NORMAL : FT_RENDER_MODE_MONO);
/* Despite requesting a normal glyph, FreeType may have returned a bitmap */