diff options
author | Willem Jan Palenstijn | 2012-02-04 22:16:20 +0100 |
---|---|---|
committer | Willem Jan Palenstijn | 2012-02-04 22:20:58 +0100 |
commit | e8ef680400cf1d7e406bdf8793019a624f4f1d08 (patch) | |
tree | dbf2d9f79816d0d8ecc126099e09f61cae4f2bef /engines | |
parent | 9f8520fb81810f6ce7718bde2fd4fc6a13e4c45d (diff) | |
download | scummvm-rg350-e8ef680400cf1d7e406bdf8793019a624f4f1d08.tar.gz scummvm-rg350-e8ef680400cf1d7e406bdf8793019a624f4f1d08.tar.bz2 scummvm-rg350-e8ef680400cf1d7e406bdf8793019a624f4f1d08.zip |
TOUCHE: Add two missing accented letters to Spanish charset.
The A-acute, I-acute, O-acute and U-acute seem to be missing from the font,
and are now all remapped to their unaccented ASCII variants. I and A
were added by 303333352a3, and this patch adds O and U.
This is assuming the CP850 encoding, which is not entirely verified.
See bugs #2040311 and #3483383.
Diffstat (limited to 'engines')
-rw-r--r-- | engines/touche/staticres.cpp | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/engines/touche/staticres.cpp b/engines/touche/staticres.cpp index f7b1482f80..f35845e881 100644 --- a/engines/touche/staticres.cpp +++ b/engines/touche/staticres.cpp @@ -887,6 +887,8 @@ const uint8 Graphics::_freGerFontData[] = { }; // spanish charset differs from original executable, see tracker item #2040311. +// We remap missing accented upper case letters from CP850 to their unaccented +// ASCII variants. Specifically, 0xB5 -> A, 0xD6 -> I, 0xE0 -> O, 0xE9 -> U. const uint16 Graphics::_spaFontOffs[] = { 0x0000, 0x0007, 0x0024, 0x0043, 0x0072, 0x00AD, 0x00E0, 0x0113, 0x0124, 0x0141, 0x015E, 0x0191, 0x01C4, 0x01E3, 0x01F8, 0x0215, 0x0232, 0x0269, 0x0286, 0x02BD, @@ -907,7 +909,8 @@ const uint16 Graphics::_spaFontOffs[] = { 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0703, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, - 0x0000, 0x0000, 0x0000, 0x1954 + 0x0000, 0x0000, 0x0627, 0x1954, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, + 0x0000, 0x097D }; const int Graphics::_spaFontSize = ARRAYSIZE(Graphics::_spaFontOffs); |