<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
<head>
  <meta content="text/html;charset=ISO-8859-1" http-equiv="Content-Type">
  <title></title>
</head>
<body bgcolor="#ffffff" text="#000000">
Hans, the test does fail on windows but that is becuase it is checking
gylphs that are different between the windows and wine (ie. while the
unicode is the same the gylphs are&nbsp; different).&nbsp; I don't know how to
overcome that issue.&nbsp; What is it is supposed to do is check that there
is a consistent translation between unicode and glyphs.&nbsp; It works 19
times out of 20 on my 32 bit system.&nbsp; Obviously there is an
inconsisency.&nbsp; Is there any advice on how to achieve the aim of the
test?<br>
<br>
Jeff<br>
<br>
Hans Leidekker wrote:
<blockquote cite="mid200607311306.51322.hans@it.vu.nl" type="cite">
  <pre wrap="">This test fails on Alexandre's system and also fails on my Windows XP
system, so I propose to remove it.


 -Hans

Changelog
  Remove a test that fails on Windows.
  </pre>
  <pre wrap="">
<hr size="4" width="90%">
001e954162666f1e4de46326c94c7ee357157793
diff --git a/dlls/usp10/tests/usp10.c b/dlls/usp10/tests/usp10.c
index 2a3d9c4..14ed56c 100644
--- a/dlls/usp10/tests/usp10.c
+++ b/dlls/usp10/tests/usp10.c
@@ -222,7 +222,6 @@ void test_ScriptGetCMap(unsigned short p
     unsigned short  pwOutGlyphs3[256];
     WCHAR           TestItem1[6] = {'T', 'e', 's', 't', 'a', 0}; 
     DWORD           dwFlags;
-    int             cnt;
 
     /* We need a valid HDC to drive a lot of Script functions which requires the following    *
      * to set up for the tests.                                                               */
@@ -269,10 +268,7 @@ void test_ScriptGetCMap(unsigned short p
     hr = ScriptGetCMap(hdc, &amp;psc, TestItem1, cInChars, dwFlags, pwOutGlyphs3);
     ok (hr == 0, "ScriptGetCMap should return 0 not (%08x)\n", (unsigned int) hr);
     ok (psc != NULL, "psc should not be null and have SCRIPT_CACHE buffer address\n");
-    for (cnt=0; cnt &lt; cChars &amp;&amp; pwOutGlyphs[cnt] == pwOutGlyphs3[cnt]; cnt++) {}
-    ok (cnt == cInChars, "Translation not correct. WCHAR %d - %04x != %04x\n",
-                         cnt, pwOutGlyphs[cnt], pwOutGlyphs3[cnt]);
-        
+
     hr = ScriptFreeCache( &amp;psc);
     ok (!psc, "psc is not null after ScriptFreeCache\n");
 }
  </pre>
  <pre wrap="">
<hr size="4" width="90%">

  </pre>
</blockquote>
<br>
</body>
</html>