aboutsummaryrefslogtreecommitdiff
path: root/engines/scumm/string.cpp
diff options
context:
space:
mode:
authorFlorian Kagerer2010-10-18 23:54:35 +0000
committerFlorian Kagerer2010-10-18 23:54:35 +0000
commitf05110f3f675a0ceae9c704391610b5896b584a7 (patch)
treea74c573f4118a75855e1ea0e313008e3677cea52 /engines/scumm/string.cpp
parentf82ee445d33de5d40fa34222080d3d7ffd165768 (diff)
downloadscummvm-rg350-f05110f3f675a0ceae9c704391610b5896b584a7.tar.gz
scummvm-rg350-f05110f3f675a0ceae9c704391610b5896b584a7.tar.bz2
scummvm-rg350-f05110f3f675a0ceae9c704391610b5896b584a7.zip
SCUMM/FM-TOWNS JAPANESE: fix font spacing issues
(improves MI1 intro) svn-id: r53597
Diffstat (limited to 'engines/scumm/string.cpp')
-rw-r--r--engines/scumm/string.cpp5
1 files changed, 5 insertions, 0 deletions
diff --git a/engines/scumm/string.cpp b/engines/scumm/string.cpp
index 92e6ef2f9e..4b09547c8c 100644
--- a/engines/scumm/string.cpp
+++ b/engines/scumm/string.cpp
@@ -601,7 +601,12 @@ void ScummEngine::CHARSET_1() {
} else if (!(_game.platform == Common::kPlatformFMTowns) && _string[0].height) {
_nextTop += _string[0].height;
} else {
+ bool useCJK = _useCJKMode;
+ // SCUMM5 FM-Towns doesn't use the height of the ROM font here.
+ if (_game.platform == Common::kPlatformFMTowns && _game.version == 5)
+ _useCJKMode = false;
_nextTop += _charset->getFontHeight();
+ _useCJKMode = useCJK;
}
if (_game.version > 3) {
// FIXME: is this really needed?