[Scummvm-cvs-logs] scummvm master -> cda0598047724433e511182ffd3b17b08233f084
somaen
einarjohants at gmail.com
Fri Feb 21 16:39:51 CET 2014
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:
cda0598047 WINTERMUTE: Use the correct field for dpi when loading FreeSans from scummmodern.zip
Commit: cda0598047724433e511182ffd3b17b08233f084
https://github.com/scummvm/scummvm/commit/cda0598047724433e511182ffd3b17b08233f084
Author: Einar Johan Trøan Sømåen (einarjohants at gmail.com)
Date: 2014-02-21T07:35:47-08:00
Commit Message:
WINTERMUTE: Use the correct field for dpi when loading FreeSans from scummmodern.zip
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 1e614d3..c5a1e91 100644
--- a/engines/wintermute/base/font/base_font_truetype.cpp
+++ b/engines/wintermute/base/font/base_font_truetype.cpp
@@ -607,7 +607,7 @@ bool BaseFontTT::initFont() {
if (themeArchive->hasFile(fallbackFilename)) {
file = nullptr;
file = themeArchive->createReadStreamForMember(fallbackFilename);
- _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;
}
// We're not using BaseFileManager, so clean up after ourselves:
More information about the Scummvm-git-logs
mailing list