GNOME Bugzilla – Bug 121671
Va, Ya and La double conjugates not rendered properly in Malayalam
Last modified: 2004-12-22 21:47:04 UTC
Va+Va, Ya+Ya and La+LA conjugates are rendered with a sign in Malayalam. This is not properly supported in Pango. Screen shots and unicode text of the bug are available at http://www.linuxense.com/oss/render/mozilla/ml-bugs.html#double Font used for rendering is Thoolika Unicode http://www.supersoftweb.com/THOOLIUC.TTF
Several problems seem to be combined here: - First, Pango is applying the OpenType lookups in the wrong order, which causes problems for THOOLIUC.TTF since it applies 'hlnt' before 'blws' so LA+H+LA => LA+LA+H (reordering) => LA+LA(chillu) rather than LA+H+LA => LA+LA+H (reordering) => LALA(conjunct) though actually this wouldn't be a problem normally since the 'hlnt' feature shouldn't be applied at all here. (bug 121670). I've filed this (with a patch) as bug 122330 - Second, the indic code is improperly supressing the 'pstf' feature on post-base consonants (There was a FIXME in the code for this... there may be some deeper reason why it wasn't fixed earlier. It may be that the ICU idea where the different sets of features can be compressed into a single array doesn't really make sense here - though that seems to be more of a problem for below-base forms - where currently ICU allows the 'pstf' feature - than for post-base forms.) - Finally, I think 'Ya' (U+D2F) should be classed as _pb, not _ct.
Created attachment 19942 [details] [review] Allow 'pstf' for post-base forms
Created attachment 19943 [details] [review] Change YA from _ct to _pb
Tested the patches, and works well, I am attaching the images generated using pangoft2topgm and joined together using gimp. raj
Created attachment 19961 [details] VVa, YYa, LLa after applying patches
Filed ICU bugs: http://www.jtcsv.com/cgibin/icu-bugs?findid=4022 http://www.jtcsv.com/cgibin/icu-bugs?findid=4023 Committed to Pango with another Malayalam fix: Thu Jul 29 16:10:06 2004 Owen Taylor <otaylor@redhat.com> Fix Malayalam double-consonant conjuncts: #121671, Rajkumar S * modules/indic/indic-ot.[ch]: Add a new feature set pstf_p and use it for post-base consonants, since the existing nukt_p suppressed the pstf feature. (#121671, Rajkumar S) * modules/indic/indic-ot-class-tables.c (mlymCharClasses): make U+D2F (MALAYALAM LETTER YA) _pb not _ct. * modules/indic/indic-ot-class-tables.c (mlymCharClasses): Classify U/UU/VOCALIC R as _dr not _db since they should be ordered after post-base consonants.