[Scummvm-git-logs] scummvm master -> 862ead550b4ac72af09b9bc1e4d8be95b9addfc0

aquadran noreply at scummvm.org
Sun Aug 2 05:25:18 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:
862ead550b WINTERMUTE: Fonts from the game 'Today, Mama!' are not working. W/A by sing fallback fonts.


Commit: 862ead550b4ac72af09b9bc1e4d8be95b9addfc0
    https://github.com/scummvm/scummvm/commit/862ead550b4ac72af09b9bc1e4d8be95b9addfc0
Author: Paweł Kołodziejski (aquadran at gmail.com)
Date: 2026-08-02T07:25:06+02:00

Commit Message:
WINTERMUTE: Fonts from the game 'Today, Mama!' are not working. W/A by sing fallback fonts.

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 09f85d4c3e6..efab14bf1b2 100644
--- a/engines/wintermute/base/font/base_font_truetype.cpp
+++ b/engines/wintermute/base/font/base_font_truetype.cpp
@@ -587,6 +587,11 @@ bool BaseFontTT::initFont() {
 		// The game 'Nose Bound Episode 1' is points to 'fonts\Andes.ttf',
 		// however there is in game root data directory.
 		file = BaseFileManager::getEngineInstance()->openFile("bettynoir.ttf", true, false);
+	} else if (BaseEngine::instance().getGameId() == "todaymama" &&
+		  (Common::String(_fontFile).contains("PRN55__C.TTF") ||
+		   Common::String(_fontFile).contains("BREEZE.TTF"))) {
+		// Fonts from the game 'Today, Mama!' are not working. Using fallback.
+		file = nullptr;
 	} else {
 		// Load a file, but avoid having the File-manager handle the disposal of it.
 		file = BaseFileManager::getEngineInstance()->openFile(_fontFile, true, false);
@@ -662,6 +667,14 @@ bool BaseFontTT::initFont() {
 				} else {
 					fallbackFilename = "LiberationSans-Regular.ttf";
 				}
+			} else if (Common::String(_fontFile).contains("BREEZE.TTF") ||
+				   Common::String(_fontFile).contains("PRN55__C.TTF")) {
+				// Fonts from the game 'Today, Mama!' are not working.
+				if (_isBold) {
+					fallbackFilename = "LiberationSans-Bold.ttf";
+				} else {
+					fallbackFilename = "LiberationSans-Regular.ttf";
+				}
 			} else if (Common::String(_fontFile).contains("ITCBLKAD.ttf")) {
 				// 'The Trader of Stories' game has missing 'ITCBLKAD' font
 				fallbackFilename = "NotoSerif-Italic.ttf";




More information about the Scummvm-git-logs mailing list