(svn r11981) -Fix [FS#1698]: Use unicode glyph mapping to fix up missing/shuffled sprites in original data files instead of shuffling or skipping
sprites directly. Some required glyphs were not loaded. -Fix: Large capital U with grave (Ù) along with some other glyphs are broken in the original data files, so do no display them.
This commit is contained in:
@@ -293,6 +293,9 @@ char *TranslateTTDPatchCodes(const char *str)
|
||||
case 0xB6: d += Utf8Encode(d, SCC_BUS); break;
|
||||
case 0xB7: d += Utf8Encode(d, SCC_PLANE); break;
|
||||
case 0xB8: d += Utf8Encode(d, SCC_SHIP); break;
|
||||
case 0xB9: d += Utf8Encode(d, SCC_SUPERSCRIPT_M1); break;
|
||||
case 0xBC: d += Utf8Encode(d, SCC_SMALLUPARROW); break;
|
||||
case 0xBD: d += Utf8Encode(d, SCC_SMALLDOWNARROW); break;
|
||||
default:
|
||||
/* Validate any unhandled character */
|
||||
if (!IsValidChar(c, CS_ALPHANUMERAL)) c = '?';
|
||||
|
Reference in New Issue
Block a user