mirror of
https://github.com/1dot13/source.git
synced 2026-07-22 13:40:22 +02:00
Merge pull request #239 from zwwooooo/master
Fixed "14POINTARIAL" font height for Chinese Version.
This commit is contained in:
@@ -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;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user