[Scummvm-git-logs] scummvm master -> 7499bae86b73c22ee8c29a81e8e99bb84b3ea1ee

eriktorbjorn noreply at scummvm.org
Mon Sep 22 03:46:13 UTC 2025


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:
7499bae86b WAGE: Register embedded fonts in WAGE games (bug #16215)


Commit: 7499bae86b73c22ee8c29a81e8e99bb84b3ea1ee
    https://github.com/scummvm/scummvm/commit/7499bae86b73c22ee8c29a81e8e99bb84b3ea1ee
Author: Torbjörn Andersson (eriktorbjorn at users.sourceforge.net)
Date: 2025-09-22T05:46:06+02:00

Commit Message:
WAGE: Register embedded fonts in WAGE games (bug #16215)

The text now mostly matches the original in The Village, at least for
the opening. This is important since the author manually hyphenated a
lot of words.

Changed paths:
    engines/wage/gui.cpp


diff --git a/engines/wage/gui.cpp b/engines/wage/gui.cpp
index 106df1bf62c..6c3015e24db 100644
--- a/engines/wage/gui.cpp
+++ b/engines/wage/gui.cpp
@@ -94,6 +94,7 @@ Gui::Gui(WageEngine *engine) {
 	_screen.create(g_system->getWidth(), g_system->getHeight(), Graphics::PixelFormat::createFormatCLUT8());
 
 	_wm = new Graphics::MacWindowManager(Graphics::kWMNoScummVMWallpaper);
+	_wm->_fontMan->loadFonts(Common::Path(engine->getGameFile()));
 	_wm->setScreen(&_screen);
 
 	_menu = _wm->addMenu();
@@ -131,7 +132,7 @@ Gui::Gui(WageEngine *engine) {
 
 	uint maxWidth = _screen.w;
 
-	_consoleWindow = _wm->addTextWindow(font, kColorBlack, kColorWhite, maxWidth, Graphics::kTextAlignLeft, _menu, 1);
+	_consoleWindow = _wm->addTextWindow(font, kColorBlack, kColorWhite, maxWidth, Graphics::kTextAlignLeft, _menu, 4);
 	_consoleWindow->setCallback(consoleWindowCallback, this);
 	_consoleWindow->setBorderColor(kColorWhite);
 	_consoleWindow->setEditable(true);




More information about the Scummvm-git-logs mailing list