From 99645ce53591d9a13c71a800d82fe2681a157205 Mon Sep 17 00:00:00 2001 From: Caolan McNamara Date: Mon, 5 Feb 2007 17:00:52 +0000 Subject: [PATCH] rhbz#226949 layout telegu like pango --- icu.icu5465.telegu.patch | 34 ++++++++++++++++++++++++++-------- icu.spec | 5 ++++- 2 files changed, 30 insertions(+), 9 deletions(-) diff --git a/icu.icu5465.telegu.patch b/icu.icu5465.telegu.patch index 6c8c7e3..7e80103 100644 --- a/icu.icu5465.telegu.patch +++ b/icu.icu5465.telegu.patch @@ -1,11 +1,29 @@ ---- icu.orig/source/layout/IndicClassTables.cpp 2006-10-18 09:05:20.000000000 +0100 -+++ icu/source/layout/IndicClassTables.cpp 2006-10-18 09:06:24.000000000 +0100 -@@ -164,7 +164,7 @@ +--- icu.orig/source/layout/IndicClassTables.cpp 2007-02-05 14:44:17.000000000 +0000 ++++ icu/source/layout/IndicClassTables.cpp 2007-02-05 14:47:49.000000000 +0000 +@@ -145,6 +145,7 @@ + }; + + // FIXME: Should some of the bb's be pb's? (KA, NA, MA, YA, VA, etc. (approx 13)) ++#if 0 + static const IndicClassTable::CharClass teluCharClasses[] = + { _xx, _mp, _mp, _mp, _xx, _iv, _iv, _iv, _iv, _iv, _iv, _iv, _iv, _xx, _iv, _iv, // 0C00 - 0C0F - _iv, _xx, _iv, _iv, _iv, _bb, _bb, _bb, _bb, _bb, _bb, _bb, _bb, _bb, _bb, _bb, // 0C10 - 0C1F - _bb, _bb, _bb, _bb, _bb, _bb, _bb, _bb, _bb, _xx, _bb, _bb, _bb, _bb, _bb, _bb, // 0C20 - 0C2F -- _bb, _ct, _bb, _bb, _xx, _bb, _bb, _bb, _bb, _bb, _xx, _xx, _xx, _xx, _da, _da, // 0C30 - 0C3F -+ _bb, _bb, _bb, _bb, _xx, _bb, _bb, _bb, _bb, _bb, _xx, _xx, _xx, _xx, _da, _da, // 0C30 - 0C3F - _da, _dr, _dr, _dr, _dr, _xx, _a1, _da, _s1, _xx, _da, _da, _da, _vr, _xx, _xx, // 0C40 - 0C4F +@@ -155,6 +156,18 @@ _xx, _xx, _xx, _xx, _xx, _da, _m2, _xx, _xx, _xx, _xx, _xx, _xx, _xx, _xx, _xx, // 0C50 - 0C5F _iv, _iv, _xx, _xx, _xx, _xx, _xx, _xx, _xx, _xx, _xx, _xx, _xx, _xx, _xx, _xx // 0C60 - 0C6F + }; ++#else ++static const IndicClassTable::CharClass teluCharClasses[] = ++{ ++ _xx, _mp, _mp, _mp, _xx, _iv, _iv, _iv, _iv, _iv, _iv, _iv, _iv, _xx, _iv, _iv, /* 0C00 - 0C0F */ ++ _iv, _xx, _iv, _iv, _iv, _bb, _bb, _bb, _bb, _bb, _bb, _bb, _bb, _bb, _bb, _bb, /* 0C10 - 0C1F */ ++ _bb, _bb, _bb, _bb, _bb, _bb, _bb, _bb, _bb, _xx, _bb, _bb, _bb, _bb, _bb, _bb, /* 0C20 - 0C2F */ ++ _bb, _bb, _bb, _bb, _xx, _bb, _bb, _bb, _bb, _bb, _xx, _xx, _xx, _xx, _da, _da, /* 0C30 - 0C3F */ ++ _da, _dr, _dr, _dr, _dr, _xx, _da, _da, _s1, _xx, _da, _da, _da, _vr, _xx, _xx, /* 0C40 - 0C4F */ ++ _xx, _xx, _xx, _xx, _xx, _da, _db, _xx, _xx, _xx, _xx, _xx, _xx, _xx, _xx, _xx, /* 0C50 - 0C5F */ ++ _iv, _iv, _xx, _xx, _xx, _xx, _xx, _xx, _xx, _xx, _xx, _xx, _xx, _xx, _xx, _xx /* 0C60 - 0C6F */ ++}; ++#endif + + // U+CC3 and U+CC4 are _lm here not _dr since the Kannada rendering + // rules want them below and to the right of the entire cluster diff --git a/icu.spec b/icu.spec index 5ed0ec7..4b94016 100644 --- a/icu.spec +++ b/icu.spec @@ -1,6 +1,6 @@ Name: icu Version: 3.6 -Release: 15 +Release: 16 Summary: International Components for Unicode Group: System Environment/Libraries @@ -154,6 +154,9 @@ rm -rf $RPM_BUILD_ROOT %changelog +* Mon Feb 05 2007 Caolan McNamara - 3.6-16 +- Resolves: rhbz#226949 layout telegu like pango + * Fri Jan 19 2007 Caolan McNamara - 3.6-15 - Resolves: rhbz#214948 icu.icu5506.multiplevowels.patch