summaryrefslogtreecommitdiff
path: root/modules/indic
diff options
context:
space:
mode:
authorOwen Taylor <otaylor@redhat.com>2004-02-27 19:32:00 +0000
committerOwen Taylor <otaylor@src.gnome.org>2004-02-27 19:32:00 +0000
commitb89ad78ec0b6ad809f93c326a3b78c1e5e605414 (patch)
tree32ac283ed13e7f6737a27478541eec540883eb89 /modules/indic
parent174c1c5d53d53a96cf553b37afdc559a2971968d (diff)
downloadpango-b89ad78ec0b6ad809f93c326a3b78c1e5e605414.tar.gz
Mark BENGALI LETTER A (U+0985) and BENGALI LETTER E (U+098F) as consonants
Fri Feb 27 14:26:34 2004 Owen Taylor <otaylor@redhat.com> * modules/indic/indic-ot-class-tables.c (bengCharClasses): Mark BENGALI LETTER A (U+0985) and BENGALI LETTER E (U+098F) as consonants which gives better behavior when they are combined wiht halant, though it isn't exactly right. (#118299, Sayamindu Dasgupta)
Diffstat (limited to 'modules/indic')
-rw-r--r--modules/indic/indic-ot-class-tables.c7
1 files changed, 6 insertions, 1 deletions
diff --git a/modules/indic/indic-ot-class-tables.c b/modules/indic/indic-ot-class-tables.c
index c4acf4ce..076cee29 100644
--- a/modules/indic/indic-ot-class-tables.c
+++ b/modules/indic/indic-ot-class-tables.c
@@ -82,9 +82,14 @@ static IndicOTCharClass devaCharClasses[] =
_xx /* 0970 */
};
+/* As a hack, BENGALI LETTER A (U+0985) and BENGALI LETTER E (U+098F)
+ * are marked as consonants below; this gives approximately the
+ * right behavior for the sequences "a halant ya aa" and
+ * "e halant ya aa".
+ */
static IndicOTCharClass bengCharClasses[] =
{
- _xx, _ma, _mp, _mp, _xx, _iv, _iv, _iv, _iv, _iv, _iv, _iv, _iv, _xx, _xx, _iv, /* 0980 - 098F */
+ _xx, _ma, _mp, _mp, _xx, _ct, _iv, _iv, _iv, _iv, _iv, _iv, _iv, _xx, _xx, _ct, /* 0980 - 098F */
_iv, _xx, _xx, _iv, _iv, _ct, _ct, _ct, _ct, _ct, _ct, _ct, _ct, _ct, _ct, _ct, /* 0990 - 099F */
_ct, _ct, _ct, _ct, _ct, _ct, _ct, _ct, _ct, _xx, _ct, _ct, _bb, _ct, _ct, _pb, /* 09A0 - 09AF */
_rv, _xx, _ct, _xx, _xx, _xx, _ct, _ct, _ct, _ct, _xx, _xx, _nu, _xx, _dr, _dl, /* 09B0 - 09BF */