gdi32/tests: GetCharABCWidthsA is broken for johab charset on windows

André Hentschel nerv at dawncrow.de
Mon Mar 17 18:14:21 CDT 2014


After hours of testing, this is the best solution i found.
On Windows with fonts that support johab charset, GetCharABCWidthsA fails for
characters >= 0xff
I see no need to replicate that in Wine and with this behaviour there's nothing to test...
---
 dlls/gdi32/tests/font.c | 2 --
 1 file changed, 2 deletions(-)

diff --git a/dlls/gdi32/tests/font.c b/dlls/gdi32/tests/font.c
index a9d2fb0..259f4a0 100644
--- a/dlls/gdi32/tests/font.c
+++ b/dlls/gdi32/tests/font.c
@@ -1190,8 +1190,6 @@ static void test_GetCharABCWidths(void)
          {TRUE, TRUE, FALSE, FALSE, TRUE, FALSE, FALSE, FALSE, FALSE, FALSE, FALSE, TRUE}},
         {HANGEUL_CHARSET, 0x8141, 0xac02,
          {TRUE, TRUE, FALSE, FALSE, TRUE, FALSE, FALSE, FALSE, FALSE, FALSE, FALSE, TRUE}},
-        {JOHAB_CHARSET, 0x8446, 0x3135,
-         {TRUE, TRUE, FALSE, FALSE, TRUE, FALSE, FALSE, FALSE, FALSE, FALSE, FALSE, TRUE}},
         {GB2312_CHARSET, 0x8141, 0x4e04,
          {TRUE, TRUE, FALSE, FALSE, TRUE, FALSE, FALSE, FALSE, FALSE, FALSE, FALSE, TRUE}},
         {CHINESEBIG5_CHARSET, 0xa142, 0x3001,
-- 
1.8.1.2




More information about the wine-patches mailing list