Aric Stewart : gdi32: Do not ignore USP_E_SCRIPT_NOT_IN_FONT when shaping glyphs.

Alexandre Julliard julliard at winehq.org
Mon May 31 11:21:39 CDT 2010


Module: wine
Branch: master
Commit: a4d25f1260f75bb97a4ba40c140fe81ab3c4d7f9
URL:    http://source.winehq.org/git/wine.git/?a=commit;h=a4d25f1260f75bb97a4ba40c140fe81ab3c4d7f9

Author: Aric Stewart <aric at codeweavers.com>
Date:   Mon May 31 00:37:57 2010 -0500

gdi32: Do not ignore USP_E_SCRIPT_NOT_IN_FONT when shaping glyphs.

---

 dlls/gdi32/bidi.c |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

diff --git a/dlls/gdi32/bidi.c b/dlls/gdi32/bidi.c
index ce6c358..7b3995b 100644
--- a/dlls/gdi32/bidi.c
+++ b/dlls/gdi32/bidi.c
@@ -620,7 +620,7 @@ BOOL BIDI_Reorder(
                     }
                     res = ScriptShape(hDC, &psc, lpString + done + curItem->iCharPos, cChars, cMaxGlyphs, &curItem->a, run_glyphs, pwLogClust, psva, &cOutGlyphs);
                 }
-                if (res && res != USP_E_SCRIPT_NOT_IN_FONT)
+                if (res)
                 {
                     FIXME("Unable to shape string (%x)\n",res);
                     j = nItems;




More information about the wine-cvs mailing list