aboutsummaryrefslogtreecommitdiff
path: root/engines/mohawk/riven_stacks/aspit.cpp
diff options
context:
space:
mode:
authorBastien Bouclet2018-06-26 08:01:59 +0200
committerBastien Bouclet2018-06-29 13:31:55 +0200
commitbd56983b42f0424c2b5f7c6c066ba2d12b94b610 (patch)
tree59cf508911a21372c174693957ef53796ff29e53 /engines/mohawk/riven_stacks/aspit.cpp
parent573fa47f948a4ce55cfbca4837eda9303cd43d93 (diff)
downloadscummvm-rg350-bd56983b42f0424c2b5f7c6c066ba2d12b94b610.tar.gz
scummvm-rg350-bd56983b42f0424c2b5f7c6c066ba2d12b94b610.tar.bz2
scummvm-rg350-bd56983b42f0424c2b5f7c6c066ba2d12b94b610.zip
MOHAWK: RIVEN: Tweak a bit the main menu items
* Move the text to the left so the japanese version is not cut. * Increase the size of the text so it looks better when scaled up.
Diffstat (limited to 'engines/mohawk/riven_stacks/aspit.cpp')
-rw-r--r--engines/mohawk/riven_stacks/aspit.cpp9
1 files changed, 6 insertions, 3 deletions
diff --git a/engines/mohawk/riven_stacks/aspit.cpp b/engines/mohawk/riven_stacks/aspit.cpp
index ee68587bf7..a94b454257 100644
--- a/engines/mohawk/riven_stacks/aspit.cpp
+++ b/engines/mohawk/riven_stacks/aspit.cpp
@@ -98,14 +98,17 @@ void ASpit::xastartupbtnhide(const ArgumentArray &args) {
const char *fontname;
const Graphics::Font *font = nullptr;
- if (_vm->getLanguage() != Common::JA_JPN)
+ int fontHeight;
+ if (_vm->getLanguage() != Common::JA_JPN) {
fontname = "FreeSans.ttf";
- else
+ fontHeight = 12;
+ } else {
fontname = "mplus-2c-regular.ttf";
+ fontHeight = 11;
+ }
#if defined(USE_FREETYPE2)
- int fontHeight = 11;
if (file.open(fontname)) {
font = Graphics::loadTTFFont(file, fontHeight);
}