From 797782a102370ebd8dcca3d9c39f4a20d72a468f Mon Sep 17 00:00:00 2001 From: "shanjian%netscape.com" Date: Tue, 13 Nov 2001 00:51:22 +0000 Subject: [PATCH] #108012 text measurment on win xp have problem with unicode while word-spacing and letter-spacing is present r= smontagu sr=attinasi --- gfx/src/windows/nsRenderingContextWin.cpp | 9 --------- 1 file changed, 9 deletions(-) diff --git a/gfx/src/windows/nsRenderingContextWin.cpp b/gfx/src/windows/nsRenderingContextWin.cpp index 3cad2c69d166..3a6eb310ab4d 100644 --- a/gfx/src/windows/nsRenderingContextWin.cpp +++ b/gfx/src/windows/nsRenderingContextWin.cpp @@ -1501,15 +1501,6 @@ NS_IMETHODIMP nsRenderingContextWin :: GetWidth(PRUnichar ch, nscoord &aWidth, P { PRUnichar buf[1]; buf[0] = ch; -#ifdef IBMBIDI - WORD charType=0; - if (::GetStringTypeW(CT_CTYPE3, &ch, 1, &charType) && (charType & C3_DIACRITIC) && !(charType & C3_ALPHA)) { -// aWidth = 0; - GetWidth(buf, 1, aWidth, aFontID); - aWidth *=-1; - return NS_OK; - } -#endif return GetWidth(buf, 1, aWidth, aFontID); }