diff options
author | Johannes Schickel | 2014-06-09 01:04:47 +0200 |
---|---|---|
committer | Johannes Schickel | 2014-06-09 01:04:47 +0200 |
commit | 5b03ba04d78be0f7d60ac777dbf8b51584192f7d (patch) | |
tree | e52733f62eaedb60c6158ad3dc1e39713d62d53f /gui | |
parent | 924f1f1fee3f46a6bfcd6182631bdd91f61c279e (diff) | |
download | scummvm-rg350-5b03ba04d78be0f7d60ac777dbf8b51584192f7d.tar.gz scummvm-rg350-5b03ba04d78be0f7d60ac777dbf8b51584192f7d.tar.bz2 scummvm-rg350-5b03ba04d78be0f7d60ac777dbf8b51584192f7d.zip |
GRAPHICS: Allow client code to specify TTF render mode.
This allows clients to use the default FreeType2 render mode instead of light.
We really only use light as default because that's what looks best with the
font we use in our GUI right now (which is the same reason why formerly light
was always used in non-monochrome mode).
Diffstat (limited to 'gui')
-rw-r--r-- | gui/ThemeEngine.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/gui/ThemeEngine.cpp b/gui/ThemeEngine.cpp index 9e54597dd4..ed01204180 100644 --- a/gui/ThemeEngine.cpp +++ b/gui/ThemeEngine.cpp @@ -1446,7 +1446,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, 0, false, + font = Graphics::loadTTFFont(*stream, pointsize, 0, Graphics::kTTFRenderModeLight, #ifdef USE_TRANSLATION TransMan.getCharsetMapping() #else |