From a37b20a1f1fd3411213d308f762431176a78dd06 Mon Sep 17 00:00:00 2001 From: Caolan McNamara Date: Thu, 13 Dec 2007 14:24:07 +0000 Subject: [PATCH] Resolves: rhbz#423211 experimental hack for 0d15+0d4d+0d30 --- icu.icu5431.malayam.patch | 20 +++++++++++++++++++- icu.spec | 5 ++++- 2 files changed, 23 insertions(+), 2 deletions(-) diff --git a/icu.icu5431.malayam.patch b/icu.icu5431.malayam.patch index 48a549d..b1f83a5 100644 --- a/icu.icu5431.malayam.patch +++ b/icu.icu5431.malayam.patch @@ -57,7 +57,25 @@ static const FeatureMap featureMap[] = { {loclFeatureTag, loclFeatureMask}, -@@ -629,6 +651,21 @@ +@@ -559,6 +623,17 @@ + hasBelowBaseForm = IndicClassTable::hasBelowBaseForm(charClass) && !hasNukta; + hasPostBaseForm = IndicClassTable::hasPostBaseForm(charClass) && !hasNukta; + ++ /* for the special conjuction of Cons+0x0d4d+0x0d30 of Malayalam */ ++ if ((baseConsonant - 2 >= 0) && hasPostBaseForm && ++ (chars[baseConsonant - 1] == 0x0d4d) && ++ (chars[baseConsonant] == 0x0d30) && ++ ((chars[baseConsonant - 2] >= 0x0d15) && ++ (chars[baseConsonant - 2] <= 0x0d39))) { ++ if (baseConsonant < 3 || chars[baseConsonant - 3] != 0x0d4d) { ++ hasPostBaseForm = false; ++ } ++ } ++ + if (IndicClassTable::isConsonant(charClass)) { + if (postBaseLimit == 0 || seenVattu || + (baseConsonant > baseLimit && !classTable->isVirama(chars[baseConsonant - 1])) || +@@ -645,6 +720,21 @@ output.writeChar(chars[i], i, tagArray4); } diff --git a/icu.spec b/icu.spec index 8c3f831..d01176d 100644 --- a/icu.spec +++ b/icu.spec @@ -1,6 +1,6 @@ Name: icu Version: 3.8 -Release: 5%{?dist} +Release: 6%{?dist} Summary: International Components for Unicode Group: Development/Tools License: MIT @@ -146,6 +146,9 @@ rm -rf $RPM_BUILD_ROOT %doc source/__docs/%{name}/html/* %changelog +* Thu Dec 13 2007 Caolan McNamara - 3.8-6 +- Resolves: rhbz#423211 experimental hack for 0d15+0d4d+0d30 + * Tue Dec 11 2007 Caolan McNamara - 3.8-5 - Resolves: rhbz#415541 icu.icu6084.zwnj.notdef.patch