[Scummvm-git-logs] scummvm master -> e2654b880420df961e3fab6e5d13b97c2ab3dc34

AndywinXp noreply at scummvm.org
Wed Jan 28 18:16: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:
e2654b8804 SCUMM: HE: Fix (original) hardcoded Arial handling


Commit: e2654b880420df961e3fab6e5d13b97c2ab3dc34
    https://github.com/scummvm/scummvm/commit/e2654b880420df961e3fab6e5d13b97c2ab3dc34
Author: AndywinXp (andywinxp at gmail.com)
Date: 2026-01-28T19:16:14+01:00

Commit Message:
SCUMM: HE: Fix (original) hardcoded Arial handling

Changed paths:
    engines/scumm/he/font_he.cpp


diff --git a/engines/scumm/he/font_he.cpp b/engines/scumm/he/font_he.cpp
index 010d795d855..234a89bca2c 100644
--- a/engines/scumm/he/font_he.cpp
+++ b/engines/scumm/he/font_he.cpp
@@ -116,6 +116,11 @@ bool HEFont::createFont(int imageNum, const char *fontName, int fgColor, int bgC
 	}
 
 #ifdef USE_FREETYPE2
+	// Some of the models really want to use Arial, for some reason...
+	if (Common::String(fontName).equalsIgnoreCase("Arial")) {
+		fontName = "LiberationSans-Regular";
+	}
+
 	// Find the filename for this font name...
 	Common::String fontFileName;
 	for (uint i = 0; i < _fontEntries.size(); i++) {




More information about the Scummvm-git-logs mailing list