diff options
author | Einar Johan Trøan Sømåen | 2013-09-08 23:25:23 +0200 |
---|---|---|
committer | Einar Johan Trøan Sømåen | 2013-09-08 23:25:23 +0200 |
commit | 1c091ca1ffe81e3da0705b22514fe7beb6fdc0b7 (patch) | |
tree | 4c61f0420dfa5c8ccf5b06cbef1eba7e2ceb2388 /engines | |
parent | 55e88c9e43d854fc2b5082d33db57147ca4fd913 (diff) | |
download | scummvm-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.
Diffstat (limited to 'engines')
-rw-r--r-- | engines/wintermute/base/font/base_font_truetype.cpp | 2 |
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; |