Aric Stewart : usp10: In ShapeCharGlyphProp_BaseIndic set justification to SCRIPT_JUSTIFY_NONE for glyphs with no characters .

Alexandre Julliard julliard at winehq.org
Tue Jun 12 13:36:33 CDT 2012


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

Author: Aric Stewart <aric at codeweavers.com>
Date:   Tue Jun 12 08:22:50 2012 -0500

usp10: In ShapeCharGlyphProp_BaseIndic set justification to SCRIPT_JUSTIFY_NONE for glyphs with no characters.

---

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

diff --git a/dlls/usp10/shape.c b/dlls/usp10/shape.c
index cb5adcc..c654b07 100644
--- a/dlls/usp10/shape.c
+++ b/dlls/usp10/shape.c
@@ -2991,7 +2991,10 @@ static void ShapeCharGlyphProp_BaseIndic( HDC hdc, ScriptCache *psc, SCRIPT_ANAL
         }
 
         if (char_count == 0)
+        {
+            pGlyphProp[i].sva.uJustification = SCRIPT_JUSTIFY_NONE;
             continue;
+        }
 
         if (char_count ==1 && pwcChars[char_index[0]] == 0x0020)  /* space */
         {




More information about the wine-cvs mailing list