mirror of
https://github.com/ultimatepp/ultimatepp.git
synced 2026-07-11 22:03:01 -06:00
*Draw: Fixed metrics issue for certain characters
git-svn-id: svn://ultimatepp.org/upp/trunk@2353 f0d560ea-af0d-0410-9eb7-867de7ffcac7
This commit is contained in:
parent
fd6e36016f
commit
b714cee659
1 changed files with 1 additions and 1 deletions
|
|
@ -281,7 +281,7 @@ GlyphInfo GetGlyphInfoSys(Font font, int chr)
|
|||
else {
|
||||
bool abca = false, abcw = false;
|
||||
Buffer<ABC> abc(256);
|
||||
abcw = ::GetCharABCWidths(hdc, from, from + 256 - 1, abc);
|
||||
abcw = ::GetCharABCWidthsW(hdc, from, from + 256 - 1, abc);
|
||||
#ifndef PLATFORM_WINCE
|
||||
if(!abcw)
|
||||
abca = ::GetCharABCWidthsA(hdc, from, from + 256 - 1, abc);
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue