[Scummvm-git-logs] scummvm master -> 45eb45686a53cc5401664827e26bfe8428ecb832

sev- noreply at scummvm.org
Sat Jul 8 19:10:54 UTC 2023


This automated email contains information about 1 new commit which have been
pushed to the 'scummvm' repo located at https://github.com/scummvm/scummvm .

Summary:
45eb45686a GUI: Re-enabled BDF font scaling since now the rendering was fixed by elasota


Commit: 45eb45686a53cc5401664827e26bfe8428ecb832
    https://github.com/scummvm/scummvm/commit/45eb45686a53cc5401664827e26bfe8428ecb832
Author: Eugene Sandulenko (sev at scummvm.org)
Date: 2023-07-08T21:10:19+02:00

Commit Message:
GUI: Re-enabled BDF font scaling since now the rendering was fixed by elasota

Changed paths:
    gui/ThemeEngine.cpp


diff --git a/gui/ThemeEngine.cpp b/gui/ThemeEngine.cpp
index e81f9354e31..c1db060b543 100644
--- a/gui/ThemeEngine.cpp
+++ b/gui/ThemeEngine.cpp
@@ -1780,7 +1780,7 @@ const Graphics::Font *ThemeEngine::loadFont(const Common::String &filename, cons
 	if (!font && allowNonScalable) {
 		font = loadFont(filename, fontName);
 
-		//font = Graphics::BdfFont::scaleFont((const Graphics::BdfFont *)font, pointsize);
+		font = Graphics::BdfFont::scaleFont((const Graphics::BdfFont *)font, pointsize);
 	}
 
 	// If the font is successfully loaded store it in the font manager.




More information about the Scummvm-git-logs mailing list