[Scummvm-cvs-logs] SF.net SVN: scummvm: [30988] scummvm/trunk/engines/saga/font.cpp

thebluegr at users.sourceforge.net thebluegr at users.sourceforge.net
Wed Feb 27 19:10:09 CET 2008


Revision: 30988
          http://scummvm.svn.sourceforge.net/scummvm/?rev=30988&view=rev
Author:   thebluegr
Date:     2008-02-27 10:10:08 -0800 (Wed, 27 Feb 2008)

Log Message:
-----------
Don't do any special font mapping in the Italian fan translation of ITE, so that Italian characters are shown correctly

Modified Paths:
--------------
    scummvm/trunk/engines/saga/font.cpp

Modified: scummvm/trunk/engines/saga/font.cpp
===================================================================
--- scummvm/trunk/engines/saga/font.cpp	2008-02-27 16:07:38 UTC (rev 30987)
+++ scummvm/trunk/engines/saga/font.cpp	2008-02-27 18:10:08 UTC (rev 30988)
@@ -332,8 +332,12 @@
 			// versions of IHNM, so it has been changed to apply for ITE only.
 			// It doesn't make any difference for the English version of IHNM.
 			// Fixes bug #1796045: "IHNM: Spanish font wrong".
-			if (!(flags & kFontDontmap) && _vm->getGameType() == GType_ITE)
-				c_code = _charMap[c_code];
+			if (!(flags & kFontDontmap) && _vm->getGameType() == GType_ITE) {
+				// Don't do any special font mapping for the Italian fan
+				// translation of ITE
+				if (_vm->getLanguage() != Common::IT_ITA)
+					c_code = _charMap[c_code];
+			}
 		} else if (_fontMapping == 1) {
 			// Force font mapping
 			c_code = _charMap[c_code];


This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site.




More information about the Scummvm-git-logs mailing list