From ab974bee978332647c2917f8aec8a77b8dabd9c7 Mon Sep 17 00:00:00 2001 From: rubidium Date: Sat, 17 Dec 2011 21:42:11 +0000 Subject: (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. --- src/fontcache.cpp | 6 ++---- 1 file changed, 2 insertions(+), 4 deletions(-) (limited to 'src/fontcache.cpp') 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); -- cgit v1.2.3-70-g09d2