aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorEinar Johan Trøan Sømåen2013-09-08 23:25:23 +0200
committerEinar Johan Trøan Sømåen2013-09-08 23:25:23 +0200
commit1c091ca1ffe81e3da0705b22514fe7beb6fdc0b7 (patch)
tree4c61f0420dfa5c8ccf5b06cbef1eba7e2ceb2388
parent55e88c9e43d854fc2b5082d33db57147ca4fd913 (diff)
downloadscummvm-rg350-1c091ca1ffe81e3da0705b22514fe7beb6fdc0b7.tar.gz
scummvm-rg350-1c091ca1ffe81e3da0705b22514fe7beb6fdc0b7.tar.bz2
scummvm-rg350-1c091ca1ffe81e3da0705b22514fe7beb6fdc0b7.zip
WINTERMUTE: Swap dpi and font-height to be the right-way around.
-rw-r--r--engines/wintermute/base/font/base_font_truetype.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/engines/wintermute/base/font/base_font_truetype.cpp b/engines/wintermute/base/font/base_font_truetype.cpp
index e073f27970..b6f372f377 100644
--- a/engines/wintermute/base/font/base_font_truetype.cpp
+++ b/engines/wintermute/base/font/base_font_truetype.cpp
@@ -559,7 +559,7 @@ bool BaseFontTT::initFont() {
}
if (file) {
- _deletableFont = Graphics::loadTTFFont(*file, 96, _fontHeight); // Use the same dpi as WME (96 vs 72).
+ _deletableFont = Graphics::loadTTFFont(*file, _fontHeight, 96); // Use the same dpi as WME (96 vs 72).
_font = _deletableFont;
BaseFileManager::getEngineInstance()->closeFile(file);
file = nullptr;