[Scummvm-cvs-logs] scummvm master -> e8ef680400cf1d7e406bdf8793019a624f4f1d08

wjp wjp at usecode.org
Sat Feb 4 22:21:29 CET 2012


This automated email contains information about 1 new commit which have been
pushed to the 'scummvm' repo located at https://github.com/scummvm/scummvm .

Summary:
e8ef680400 TOUCHE: Add two missing accented letters to Spanish charset.


Commit: e8ef680400cf1d7e406bdf8793019a624f4f1d08
    https://github.com/scummvm/scummvm/commit/e8ef680400cf1d7e406bdf8793019a624f4f1d08
Author: Willem Jan Palenstijn (wjp at usecode.org)
Date: 2012-02-04T13:20:58-08:00

Commit Message:
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.

Changed paths:
    engines/touche/staticres.cpp



diff --git a/engines/touche/staticres.cpp b/engines/touche/staticres.cpp
index f7b1482..f35845e 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);






More information about the Scummvm-git-logs mailing list