[Scummvm-git-logs] scummvm master -> 1b80854fed3a33d1cf1734399e2046318f134b7e

sev- sev at scummvm.org
Sat May 1 12:24:01 UTC 2021


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:
1b80854fed PINK: Workaround when freetype is not present


Commit: 1b80854fed3a33d1cf1734399e2046318f134b7e
    https://github.com/scummvm/scummvm/commit/1b80854fed3a33d1cf1734399e2046318f134b7e
Author: Eugene Sandulenko (sev at scummvm.org)
Date: 2021-05-01T14:23:45+02:00

Commit Message:
PINK: Workaround when freetype is not present

Changed paths:
    engines/pink/director.cpp


diff --git a/engines/pink/director.cpp b/engines/pink/director.cpp
index 48a4758b9d..e16a8f52e1 100644
--- a/engines/pink/director.cpp
+++ b/engines/pink/director.cpp
@@ -106,7 +106,11 @@ Director::Director(PinkEngine *vm)
 	_wm->setMenuDelay(250000);
 	_wm->setEngineRedrawCallback(this, redrawCallback);
 
+	_textFont = NULL;
+
+#ifdef USE_FREETYPE2
 	_textFont = Graphics::loadTTFFontFromArchive("system.ttf", 16);
+#endif
 	_textFontCleanup = true;
 
 	if (!_textFont) {




More information about the Scummvm-git-logs mailing list