Resolves: rhbz#423211 experimental hack for 0d15+0d4d+0d30

This commit is contained in:
Caolan McNamara 2007-12-13 14:24:07 +00:00
parent 380ea493da
commit a37b20a1f1
2 changed files with 23 additions and 2 deletions

View File

@ -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);
}

View File

@ -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 <caolanm@redhat.com> - 3.8-6
- Resolves: rhbz#423211 experimental hack for 0d15+0d4d+0d30
* Tue Dec 11 2007 Caolan McNamara <caolanm@redhat.com> - 3.8-5
- Resolves: rhbz#415541 icu.icu6084.zwnj.notdef.patch