[Scummvm-git-logs] scummvm master -> 8304d658f5fcc89f3f2fc958f79b298f46c9fb16
aquadran
noreply at scummvm.org
Sat Aug 1 19:00:26 UTC 2026
This automated email contains information about 1 new commit which have been
pushed to the 'scummvm' repo located at https://api.github.com/repos/scummvm/scummvm .
Summary:
8304d658f5 WINTERMUTE: W/A for 'Shadows on the Vatican - Act II: Wrath' render font y position
Commit: 8304d658f5fcc89f3f2fc958f79b298f46c9fb16
https://github.com/scummvm/scummvm/commit/8304d658f5fcc89f3f2fc958f79b298f46c9fb16
Author: PaweÅ KoÅodziejski (aquadran at gmail.com)
Date: 2026-08-01T21:00:06+02:00
Commit Message:
WINTERMUTE: W/A for 'Shadows on the Vatican - Act II: Wrath' render font y position
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 811a67b87dd..75db2828b97 100644
--- a/engines/wintermute/base/font/base_font_truetype.cpp
+++ b/engines/wintermute/base/font/base_font_truetype.cpp
@@ -272,6 +272,12 @@ BaseSurface *BaseFontTT::renderTextToTexture(const WideString &text, int width,
uint32 useColor = 0xffffffff;
int heightOffset = 0;
+ // W/A for 'Shadows on the Vatican - Act II: Wrath'
+ if (BaseEngine::instance().getGameId() == "sotv2" &&
+ Common::String(_fontFile).equals("fonts\\Laffayette_Comic_Pro.ttf")) {
+ heightOffset += 2;
+ }
+
for (it = lines.begin(); it != lines.end(); ++it) {
TextLine *line = (*it);
WideString str, lineStr = line->getText();
More information about the Scummvm-git-logs
mailing list