diff options
author | Einar Johan Trøan Sømåen | 2012-06-14 18:05:51 +0200 |
---|---|---|
committer | Einar Johan Trøan Sømåen | 2012-06-14 18:05:51 +0200 |
commit | d8c33544b24b015c907b9bce5cc9990ed724bde4 (patch) | |
tree | 0f7501538247a7ce8230ad6475cce188272c0185 /engines/wintermute | |
parent | 24726c143aa0d51b9d07ebdc5f8ee8d40e985399 (diff) | |
download | scummvm-rg350-d8c33544b24b015c907b9bce5cc9990ed724bde4.tar.gz scummvm-rg350-d8c33544b24b015c907b9bce5cc9990ed724bde4.tar.bz2 scummvm-rg350-d8c33544b24b015c907b9bce5cc9990ed724bde4.zip |
WINTERMUTE: Use fonts 1/3 larger than the engine asks for, to compensate for the difference in dpi between ScummVM and WME (with thanks to LordHoto for pointing this out).
Diffstat (limited to 'engines/wintermute')
-rw-r--r-- | engines/wintermute/Base/BFontTT.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/engines/wintermute/Base/BFontTT.cpp b/engines/wintermute/Base/BFontTT.cpp index c2991f1277..85c2bee334 100644 --- a/engines/wintermute/Base/BFontTT.cpp +++ b/engines/wintermute/Base/BFontTT.cpp @@ -656,7 +656,7 @@ HRESULT CBFontTT::InitFont() { if (file) {
#ifdef USE_FREETYPE2
- _deletableFont = Graphics::loadTTFFont(*file, _fontHeight);
+ _deletableFont = Graphics::loadTTFFont(*file, _fontHeight * 4/3); // Compensate for the difference in dpi (96 vs 72).
_font = _deletableFont;
#endif
}
|