aboutsummaryrefslogtreecommitdiff
path: root/engines/wage
diff options
context:
space:
mode:
authorEugene Sandulenko2016-01-07 12:14:07 +0100
committerEugene Sandulenko2016-01-07 12:14:07 +0100
commitf2584488aab4073642ddbf35c50ea8e46bd43a55 (patch)
treea62e0bf5f257308467e97ceddaa142f727e501bc /engines/wage
parent46076a0e6c6a6f35f979dc26c70fd023a3282626 (diff)
downloadscummvm-rg350-f2584488aab4073642ddbf35c50ea8e46bd43a55.tar.gz
scummvm-rg350-f2584488aab4073642ddbf35c50ea8e46bd43a55.tar.bz2
scummvm-rg350-f2584488aab4073642ddbf35c50ea8e46bd43a55.zip
WAGE: Fixed font mapping
Diffstat (limited to 'engines/wage')
-rw-r--r--engines/wage/entities.cpp21
-rw-r--r--engines/wage/world.cpp2
2 files changed, 20 insertions, 3 deletions
diff --git a/engines/wage/entities.cpp b/engines/wage/entities.cpp
index dbf156fbba..f24eea2673 100644
--- a/engines/wage/entities.cpp
+++ b/engines/wage/entities.cpp
@@ -164,16 +164,33 @@ const char *fontNames[] = {
"San Francisco",
"Toronto",
+ NULL,
"Cairo",
"Los Angeles", // 12
- NULL, NULL, NULL, NULL, NULL, NULL, NULL, // not in Inside Macintosh
+ "Zapf Dingbats",
+ "Bookman",
+ "Helvetica Narrow",
+ "Palatino",
+ NULL,
+ "Zapf Chancery",
+ NULL,
"Times", // 20
"Helvetica",
"Courier",
"Symbol",
- "Taliesin" // mobile?
+ "Taliesin", // mobile?
+ NULL,
+ NULL,
+ NULL,
+ NULL,
+ NULL,
+ NULL, // 30
+ NULL,
+ NULL,
+ "Avant Garde",
+ "New Century Schoolbook"
};
const char *Scene::getFontName() {
diff --git a/engines/wage/world.cpp b/engines/wage/world.cpp
index 188754534c..22a7bc9b4b 100644
--- a/engines/wage/world.cpp
+++ b/engines/wage/world.cpp
@@ -182,7 +182,7 @@ bool World::loadWorld(Common::MacResManager *resMan) {
scene->_fontSize = res->readUint16BE();
if (scene->_fontType != 3 || scene->_fontSize != 9)
- warning("scene: %s font: %s size: %d", scene->_name.c_str(), scene->getFontName(), scene->_fontSize);
+ warning("scene: %s font: '%s' (%d) size: %d", scene->_name.c_str(), scene->getFontName(), scene->_fontType, scene->_fontSize);
String text;
while (res->pos() < res->size()) {