summaryrefslogtreecommitdiff
path: root/src/fontcache.cpp
diff options
context:
space:
mode:
authorrubidium <rubidium@openttd.org>2011-12-17 21:42:11 +0000
committerrubidium <rubidium@openttd.org>2011-12-17 21:42:11 +0000
commitab974bee978332647c2917f8aec8a77b8dabd9c7 (patch)
tree9cf49aea83260ff8473c0f9ed509ca74a0f6bfdd /src/fontcache.cpp
parentfba9c756c7f19f1cac41502debeccf7ffd8dd58d (diff)
downloadopenttd-ab974bee978332647c2917f8aec8a77b8dabd9c7.tar.xz
(svn r23582) -Fix [FS#4870]: add missing characters for certain languages and the large font
-Codechange: don't remove large font glyphs because they are broken in the original font, just fix them up in openttd.grf using action A -Change: make extra characters more consistent with the original font All by PaulC.
Diffstat (limited to 'src/fontcache.cpp')
-rw-r--r--src/fontcache.cpp6
1 files changed, 2 insertions, 4 deletions
diff --git a/src/fontcache.cpp b/src/fontcache.cpp
index 3e3aaf02b..ad67b66d2 100644
--- a/src/fontcache.cpp
+++ b/src/fontcache.cpp
@@ -1276,13 +1276,11 @@ void InitializeUnicodeGlyphMap()
for (uint i = 0; i < lengthof(_default_unicode_map); i++) {
byte key = _default_unicode_map[i].key;
- if (key == CLRA || key == CLRL) {
+ if (key == CLRA) {
/* Clear the glyph. This happens if the glyph at this code point
* is non-standard and should be accessed by an SCC_xxx enum
* entry only. */
- if (key == CLRA || size == FS_LARGE) {
- SetUnicodeGlyph(size, _default_unicode_map[i].code, 0);
- }
+ SetUnicodeGlyph(size, _default_unicode_map[i].code, 0);
} else {
SpriteID sprite = base + key - ASCII_LETTERSTART;
SetUnicodeGlyph(size, _default_unicode_map[i].code, sprite);