From e6f1f40aea94707a08bfc7d5f724d6e9681b0bb2 Mon Sep 17 00:00:00 2001 From: zwwooooo Date: Sun, 15 Oct 2023 22:05:59 +0800 Subject: [PATCH] Fixed "14POINTARIAL" font height for Chinese Version. --- Standard Gaming Platform/WinFont.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Standard Gaming Platform/WinFont.cpp b/Standard Gaming Platform/WinFont.cpp index 223e634f..bd046f7c 100644 --- a/Standard Gaming Platform/WinFont.cpp +++ b/Standard Gaming Platform/WinFont.cpp @@ -505,7 +505,7 @@ INT16 GetWinFontHeight(INT32 iFont) if (pWinFont == NULL) return(0); #ifdef CHINESE //zwwooooo: Correct tactical interface font height to fixed Chinese characters smearing bug - if (iFont == WinFontMap[TINYFONT1] || iFont == WinFontMap[SMALLFONT1] || iFont == WinFontMap[WIN_14POINTARIAL]) + if (iFont == WinFontMap[TINYFONT1] || iFont == WinFontMap[SMALLFONT1] || iFont == WinFontMap[FONT14ARIAL]) { return pWinFont->Height + 2; }