[Scummvm-cvs-logs] scummvm master -> 3fe7c645ed11d57cc5f7e1da588fb43cfe1affa3
bluegr
bluegr at gmail.com
Fri Jan 16 02:44:43 CET 2015
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:
3fe7c645ed ZVISION: Fix detection of Windows fonts
Commit: 3fe7c645ed11d57cc5f7e1da588fb43cfe1affa3
https://github.com/scummvm/scummvm/commit/3fe7c645ed11d57cc5f7e1da588fb43cfe1affa3
Author: Filippos Karapetis (bluegr at gmail.com)
Date: 2015-01-16T03:43:42+02:00
Commit Message:
ZVISION: Fix detection of Windows fonts
Changed paths:
engines/zvision/zvision.cpp
diff --git a/engines/zvision/zvision.cpp b/engines/zvision/zvision.cpp
index f9973d2..3085a79 100644
--- a/engines/zvision/zvision.cpp
+++ b/engines/zvision/zvision.cpp
@@ -258,9 +258,18 @@ Common::Error ZVision::run() {
for (int j = 0; j < 4; j++) {
Common::String fontName = curFont.fontBase;
+ if (fontName == "censcbk" && j > 0)
+ fontName = "schlbk";
fontName += fontSuffixes[j];
fontName += ".ttf";
+ if (fontName == "schlbkbd.ttf")
+ fontName = "schlbkb.ttf";
+ if (fontName == "garabi.ttf")
+ continue;
+ if (fontName == "garai.ttf")
+ fontName = "garait.ttf";
+
Common::String freeFontName = curFont.freeFontBase;
freeFontName += freeFontSuffixes[j];
freeFontName += ".ttf";
More information about the Scummvm-git-logs
mailing list