[Scummvm-git-logs] scummvm master -> 30a1aff3cb1b97f3dcb94fe56b4e5cc40063405b

aquadran noreply at scummvm.org
Sat Aug 1 19:48:23 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:
30a1aff3cb WINTERMUTE: W/A for 'Shadows on the Vatican - Act I: Greed' render font y position


Commit: 30a1aff3cb1b97f3dcb94fe56b4e5cc40063405b
    https://github.com/scummvm/scummvm/commit/30a1aff3cb1b97f3dcb94fe56b4e5cc40063405b
Author: Paweł Kołodziejski (aquadran at gmail.com)
Date: 2026-08-01T21:48:08+02:00

Commit Message:
WINTERMUTE: W/A for 'Shadows on the Vatican - Act I: Greed' 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 75db2828b97..2773edddedd 100644
--- a/engines/wintermute/base/font/base_font_truetype.cpp
+++ b/engines/wintermute/base/font/base_font_truetype.cpp
@@ -272,10 +272,15 @@ BaseSurface *BaseFontTT::renderTextToTexture(const WideString &text, int width,
 
 	uint32 useColor = 0xffffffff;
 	int heightOffset = 0;
+	// W/A for 'Shadows on the Vatican - Act I: Greed'
+	if (BaseEngine::instance().getGameId() == "sotv1" &&
+		Common::String(_fontFile).equals("fonts\\Laffayette_Comic_Pro.ttf")) {
+		heightOffset = 2;
+	}
 	// 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;
+		heightOffset = 2;
 	}
 
 	for (it = lines.begin(); it != lines.end(); ++it) {




More information about the Scummvm-git-logs mailing list