From b714cee659a9712092c2b07354b4646038826865 Mon Sep 17 00:00:00 2001 From: cxl Date: Mon, 3 May 2010 08:48:06 +0000 Subject: [PATCH] *Draw: Fixed metrics issue for certain characters git-svn-id: svn://ultimatepp.org/upp/trunk@2353 f0d560ea-af0d-0410-9eb7-867de7ffcac7 --- uppsrc/Draw/FontWin32.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/uppsrc/Draw/FontWin32.cpp b/uppsrc/Draw/FontWin32.cpp index 0abc91f35..2077c5a32 100644 --- a/uppsrc/Draw/FontWin32.cpp +++ b/uppsrc/Draw/FontWin32.cpp @@ -281,7 +281,7 @@ GlyphInfo GetGlyphInfoSys(Font font, int chr) else { bool abca = false, abcw = false; Buffer 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);