mirror of
https://github.com/ultimatepp/ultimatepp.git
synced 2026-07-11 22:03:01 -06:00
Draw: Chinesse XP default font issue fixed (thanks kasome)
git-svn-id: svn://ultimatepp.org/upp/trunk@1478 f0d560ea-af0d-0410-9eb7-867de7ffcac7
This commit is contained in:
parent
203e8aae92
commit
92dd52111b
1 changed files with 1 additions and 1 deletions
|
|
@ -16,7 +16,7 @@ void GetStdFontSys(String& name, int& height)
|
|||
NONCLIENTMETRICS ncm;
|
||||
ncm.cbSize = sizeof(ncm);
|
||||
::SystemParametersInfo(SPI_GETNONCLIENTMETRICS, sizeof(ncm), &ncm, 0);
|
||||
name = ncm.lfMenuFont.lfFaceName;
|
||||
name = FromSystemCharset(ncm.lfMenuFont.lfFaceName);
|
||||
height = abs((int)ncm.lfMenuFont.lfHeight);
|
||||
#endif
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue