[Scummvm-cvs-logs] scummvm master -> 1c091ca1ffe81e3da0705b22514fe7beb6fdc0b7
somaen
einarjohants at gmail.com
Sun Sep 8 23:27:09 CEST 2013
This automated email contains information about 1 new commit which have been
pushed to the 'scummvm' repo located at https://github.com/scummvm/scummvm .
Summary:
1c091ca1ff WINTERMUTE: Swap dpi and font-height to be the right-way around.
Commit: 1c091ca1ffe81e3da0705b22514fe7beb6fdc0b7
https://github.com/scummvm/scummvm/commit/1c091ca1ffe81e3da0705b22514fe7beb6fdc0b7
Author: Einar Johan Trøan Sømåen (einarjohants at gmail.com)
Date: 2013-09-08T14:25:23-07:00
Commit Message:
WINTERMUTE: Swap dpi and font-height to be the right-way around.
Changed paths:
engines/wintermute/base/font/base_font_truetype.cpp
diff --git a/engines/wintermute/base/font/base_font_truetype.cpp b/engines/wintermute/base/font/base_font_truetype.cpp
index e073f27..b6f372f 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;
More information about the Scummvm-git-logs
mailing list