Aric Stewart : usp10: Correct a few fallback conditions in Syriac shaping.
Alexandre Julliard
julliard at winehq.org
Wed May 18 11:15:32 CDT 2011
Module: wine
Branch: master
Commit: d0012622d3c5e173da03272988756d7e5d6e4d52
URL: http://source.winehq.org/git/wine.git/?a=commit;h=d0012622d3c5e173da03272988756d7e5d6e4d52
Author: Aric Stewart <aric at codeweavers.com>
Date: Tue May 17 15:05:10 2011 -0500
usp10: Correct a few fallback conditions in Syriac shaping.
---
dlls/usp10/shape.c | 4 ++++
1 files changed, 4 insertions(+), 0 deletions(-)
diff --git a/dlls/usp10/shape.c b/dlls/usp10/shape.c
index b718190..c0050c9 100644
--- a/dlls/usp10/shape.c
+++ b/dlls/usp10/shape.c
@@ -1178,6 +1178,8 @@ word_break_causing(neighbour_char(i,dirL,pwcChars,cChars)))
context_shape[i] = Afn;
else if ( (rchar == DALATH || rchar == RISH) && word_break_causing(neighbour_char(i,dirL,pwcChars,cChars)))
context_shape[i] = Afx;
+ else
+ context_shape[i] = Xn;
}
else if (context_type[i] == jtR &&
right_join_causing(neighbour_joining_type(i,dirR,context_type,cChars,psa)))
@@ -1206,6 +1208,8 @@ right_join_causing(neighbour_joining_type(i,dirR,context_type,cChars,psa)))
UpdateClusters(nextIndex, *pcGlyphs - prevCount, dirL, cChars, pwLogClust);
i = nextIndex;
}
+ else
+ i++;
}
HeapFree(GetProcessHeap(),0,context_shape);
More information about the wine-cvs
mailing list