mirror of
https://github.com/libretro/scummvm.git
synced 2025-05-13 09:36:21 +00:00
ZVISION: Fix detection of Windows fonts
This commit is contained in:
parent
11e429672e
commit
3fe7c645ed
@ -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";
|
||||
|
Loading…
x
Reference in New Issue
Block a user