aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorFilippos Karapetis2008-02-27 18:10:08 +0000
committerFilippos Karapetis2008-02-27 18:10:08 +0000
commit113ce2b900f164b636ec633354497568461dab06 (patch)
tree17f3250e68011f283ffe2c9cfcdc21180a7ca4a8
parentd31ca4982e52af4a92db77de10c016983ec88269 (diff)
downloadscummvm-rg350-113ce2b900f164b636ec633354497568461dab06.tar.gz
scummvm-rg350-113ce2b900f164b636ec633354497568461dab06.tar.bz2
scummvm-rg350-113ce2b900f164b636ec633354497568461dab06.zip
Don't do any special font mapping in the Italian fan translation of ITE, so that Italian characters are shown correctly
svn-id: r30988
-rw-r--r--engines/saga/font.cpp8
1 files changed, 6 insertions, 2 deletions
diff --git a/engines/saga/font.cpp b/engines/saga/font.cpp
index 157fed1216..e936117894 100644
--- a/engines/saga/font.cpp
+++ b/engines/saga/font.cpp
@@ -332,8 +332,12 @@ void Font::outFont(const FontStyle &drawFont, Surface *ds, const char *text, siz
// 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];