Aric Stewart : usp10: Do not apply SSA_LINK to right to left text.
Alexandre Julliard
julliard at winehq.org
Fri Jan 25 13:31:49 CST 2013
Module: wine
Branch: master
Commit: 6c4f35f34586cb015e4e7d6763cd2cd894495569
URL: http://source.winehq.org/git/wine.git/?a=commit;h=6c4f35f34586cb015e4e7d6763cd2cd894495569
Author: Aric Stewart <aric at codeweavers.com>
Date: Fri Jan 25 09:12:05 2013 -0600
usp10: Do not apply SSA_LINK to right to left text.
---
dlls/usp10/usp10.c | 2 +-
1 files changed, 1 insertions(+), 1 deletions(-)
diff --git a/dlls/usp10/usp10.c b/dlls/usp10/usp10.c
index 23ba4f5..e2e72fc 100644
--- a/dlls/usp10/usp10.c
+++ b/dlls/usp10/usp10.c
@@ -1935,7 +1935,7 @@ HRESULT WINAPI ScriptStringAnalyse(HDC hdc, const void *pString, int cString,
if ((dwFlags & SSA_LINK) && !analysis->glyphs[i].fallbackFont && analysis->pItem[i].a.eScript == Script_Hangul)
analysis->pItem[i].a.fNoGlyphIndex = TRUE;
- if ((dwFlags & SSA_LINK) && !analysis->glyphs[i].fallbackFont && !scriptInformation[analysis->pItem[i].a.eScript].props.fComplex)
+ if ((dwFlags & SSA_LINK) && !analysis->glyphs[i].fallbackFont && !scriptInformation[analysis->pItem[i].a.eScript].props.fComplex && !analysis->pItem[i].a.fRTL)
analysis->pItem[i].a.fNoGlyphIndex = TRUE;
hr = ScriptShape(hdc, sc, &pStr[analysis->pItem[i].iCharPos],
More information about the wine-cvs
mailing list