[Scummvm-cvs-logs] SF.net SVN: scummvm:[36104] scummvm/branches/branch-0-13-0/engines/saga/ font.cpp

thebluegr at users.sourceforge.net thebluegr at users.sourceforge.net
Tue Jan 27 18:39:55 CET 2009


Revision: 36104
          http://scummvm.svn.sourceforge.net/scummvm/?rev=36104&view=rev
Author:   thebluegr
Date:     2009-01-27 17:39:55 +0000 (Tue, 27 Jan 2009)

Log Message:
-----------
(backport) Proper fix for accented characters in the Italian version of ITE

Modified Paths:
--------------
    scummvm/branches/branch-0-13-0/engines/saga/font.cpp

Modified: scummvm/branches/branch-0-13-0/engines/saga/font.cpp
===================================================================
--- scummvm/branches/branch-0-13-0/engines/saga/font.cpp	2009-01-27 17:39:11 UTC (rev 36103)
+++ scummvm/branches/branch-0-13-0/engines/saga/font.cpp	2009-01-27 17:39:55 UTC (rev 36104)
@@ -342,10 +342,14 @@
 			// It doesn't make any difference for the English version of IHNM.
 			// Fixes bug #1796045: "IHNM: Spanish font wrong".
 			if (!(flags & kFontDontmap) && _vm->getGameId() == GID_ITE) {
-				// Don't do any special font mapping for the Italian fan
-				// translation of ITE
-				if (_vm->getLanguage() != Common::IT_ITA)
+				if (_vm->getLanguage() != Common::IT_ITA) {
 					c_code = translateChar(c_code);
+				} else {
+					// The in-game fonts of the Italian version should not be mapped.
+					// The ones in the intro are hardcoded and should be mapped normally.
+					 if (_vm->_scene->isInIntro())
+						 c_code = translateChar(c_code);
+				}
 			}
 		} else if (_fontMapping == 1) {
 			// Force font mapping


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