Aric Stewart : usp10: Add ETO_IGNORELANGUAGE when calling ExtTextOut so we do not re-reverse already formated RTL strings inside of GDI .

Alexandre Julliard julliard at winehq.org
Sat May 8 13:22:28 CDT 2010


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

Author: Aric Stewart <aric at codeweavers.com>
Date:   Fri May  7 22:10:26 2010 -0500

usp10: Add ETO_IGNORELANGUAGE when calling ExtTextOut so we do not re-reverse already formated RTL strings inside of GDI.

---

 dlls/usp10/usp10.c |    1 +
 1 files changed, 1 insertions(+), 0 deletions(-)

diff --git a/dlls/usp10/usp10.c b/dlls/usp10/usp10.c
index 43a3b5e..b9294e2 100644
--- a/dlls/usp10/usp10.c
+++ b/dlls/usp10/usp10.c
@@ -1600,6 +1600,7 @@ HRESULT WINAPI ScriptTextOut(const HDC hdc, SCRIPT_CACHE *psc, int x, int y, UIN
     if (!piAdvance || !psa || !pwGlyphs) return E_INVALIDARG;
 
     fuOptions &= ETO_CLIPPED + ETO_OPAQUE;
+    fuOptions |= ETO_IGNORELANGUAGE;
     if  (!psa->fNoGlyphIndex)                                     /* Have Glyphs?                      */
         fuOptions |= ETO_GLYPH_INDEX;                             /* Say don't do translation to glyph */
 




More information about the wine-cvs mailing list