(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.
This commit is contained in:
@@ -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);
|
||||
|
Reference in New Issue
Block a user