diff options
author | peter1138 <peter1138@openttd.org> | 2008-01-25 13:48:39 +0000 |
---|---|---|
committer | peter1138 <peter1138@openttd.org> | 2008-01-25 13:48:39 +0000 |
commit | eeeeeb9336b28d53788ca9c909209908fbbb3ee2 (patch) | |
tree | feb41fd20ff60b8a57be1da466861b76a6303eda /src/newgrf_text.cpp | |
parent | e99c34bef4a4ddbdacd807044c321e36cf4cd630 (diff) | |
download | openttd-eeeeeb9336b28d53788ca9c909209908fbbb3ee2.tar.xz |
(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.
Diffstat (limited to 'src/newgrf_text.cpp')
-rw-r--r-- | src/newgrf_text.cpp | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/src/newgrf_text.cpp b/src/newgrf_text.cpp index c98c7e48b..870ad5021 100644 --- a/src/newgrf_text.cpp +++ b/src/newgrf_text.cpp @@ -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 = '?'; |