Merge pull request #239 from zwwooooo/master

Fixed "14POINTARIAL" font height for Chinese Version.
This commit is contained in:
Kitty
2023-10-15 18:21:59 +02:00
committed by GitHub
+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;
}