summaryrefslogtreecommitdiff
path: root/Build
diff options
context:
space:
mode:
authorJonathan Kew <jfkthame@googlemail.com>2008-06-06 11:10:19 +0000
committerJonathan Kew <jfkthame@googlemail.com>2008-06-06 11:10:19 +0000
commit3e886322ab06e1d489d9bf1e211aef090c8e721b (patch)
tree43a7e4647efcae66fea5e508eccaf91c00aec945 /Build
parentecc329b75dd65c445ecdef856686d85381a5975f (diff)
icu Indic bug-fix from xetex svn: suppress reph when followed by zwnj
git-svn-id: svn://tug.org/texlive/trunk@8594 c570f23f-e606-0410-a88d-b1316a301751
Diffstat (limited to 'Build')
-rw-r--r--Build/source/libs/icu-xetex/layout/IndicReordering.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/Build/source/libs/icu-xetex/layout/IndicReordering.cpp b/Build/source/libs/icu-xetex/layout/IndicReordering.cpp
index 04e29a539b8..5ca8b1084eb 100644
--- a/Build/source/libs/icu-xetex/layout/IndicReordering.cpp
+++ b/Build/source/libs/icu-xetex/layout/IndicReordering.cpp
@@ -533,7 +533,7 @@ le_int32 IndicReordering::reorder(const LEUnicode *chars, le_int32 charCount, le
le_int32 baseLimit = prev;
// Check for REPH at front of syllable
- if (length > 2 && classTable->isReph(chars[prev]) && classTable->isVirama(chars[prev + 1])) {
+ if (length > 2 && classTable->isReph(chars[prev]) && classTable->isVirama(chars[prev + 1]) && chars[prev + 2] != C_SIGN_ZWNJ) {
baseLimit += 2;
// Check for eyelash RA, if the script supports it