Fixed "14POINTARIAL" font height for Chinese Version.

This commit is contained in:
zwwooooo
2023-10-15 22:05:59 +08:00
parent 5ec08231a3
commit e6f1f40aea
+1 -1
View File
@@ -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;
}