diff options
author | Filippos Karapetis | 2008-02-27 18:10:08 +0000 |
---|---|---|
committer | Filippos Karapetis | 2008-02-27 18:10:08 +0000 |
commit | 113ce2b900f164b636ec633354497568461dab06 (patch) | |
tree | 17f3250e68011f283ffe2c9cfcdc21180a7ca4a8 | |
parent | d31ca4982e52af4a92db77de10c016983ec88269 (diff) | |
download | scummvm-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.cpp | 8 |
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]; |