aboutsummaryrefslogtreecommitdiff
path: root/gui/ThemeEngine.cpp
diff options
context:
space:
mode:
authorJohannes Schickel2012-07-30 21:31:14 +0200
committerJohannes Schickel2012-08-09 03:13:00 +0200
commitb4196e48b16c458ef6564a051495525ff5a282f0 (patch)
tree6d02c90d9c874789b67ce3081998b219cb9624f2 /gui/ThemeEngine.cpp
parent5521261fdebb9388026457d7c2a92ad6abc149f1 (diff)
downloadscummvm-rg350-b4196e48b16c458ef6564a051495525ff5a282f0.tar.gz
scummvm-rg350-b4196e48b16c458ef6564a051495525ff5a282f0.tar.bz2
scummvm-rg350-b4196e48b16c458ef6564a051495525ff5a282f0.zip
GRAPHICS: Add a DPI parameter to loadTTFFont.
Will be used by WME.
Diffstat (limited to 'gui/ThemeEngine.cpp')
-rw-r--r--gui/ThemeEngine.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/gui/ThemeEngine.cpp b/gui/ThemeEngine.cpp
index e37022f5f1..2fff92c263 100644
--- a/gui/ThemeEngine.cpp
+++ b/gui/ThemeEngine.cpp
@@ -1422,7 +1422,7 @@ const Graphics::Font *ThemeEngine::loadScalableFont(const Common::String &filena
for (Common::ArchiveMemberList::const_iterator i = members.begin(), end = members.end(); i != end; ++i) {
Common::SeekableReadStream *stream = (*i)->createReadStream();
if (stream) {
- font = Graphics::loadTTFFont(*stream, pointsize, false,
+ font = Graphics::loadTTFFont(*stream, pointsize, 0, false,
#ifdef USE_TRANSLATION
TransMan.getCharsetMapping()
#else