GNOME Bugzilla – Bug 121672
Ra (vattu) not rendered properly in Malayalam
Last modified: 2006-07-31 22:41:07 UTC
Cons+Ya and Cons+Ra are rendered with corresponding signs in Malayalam. This is not properly supported in Pango. But Cons+Va sign is getting rendered properly. Screen shots and unicode text of the bug are available at http://www.linuxense.com/oss/render/mozilla/ml-bugs.html#ya http://www.linuxense.com/oss/render/mozilla/ml-bugs.html#ra Font used for rendering is Thoolika Unicode http://www.supersoftweb.com/THOOLIUC.TTF
Raj, using Mozilla with my patch for mozilla bug 215219 (http://bugzilla.mozilla.org/show_bug.cgi?id=215219) may not be the best way to test Pango's rendering of Malayalam. Could you test this and two other cases you reported (in bug 121671, bug 121670) with gedit?
Created attachment 19849 [details] gtk+-2.2.4/tests/test/testtext rendering <a href="http://www.linuxense.com/oss/render/mozilla/pango-bug.txt">pango-bug.txt</a>
I have d/l and installed gtk+-2.2.4 and used testtext from it to take a screen shot of pango-bug.txt, which is a growing list of bugs, as I find them. The screen shots of this and mozilla are similar. (one or 2 minor difference only) I have also updated http://www.linuxense.com/oss/render/mozilla/ml-bugs.html with this new screen shot. raj
The examples/pangoft2topgm program shipped with Pango can be a good way to test out behavior without getting GTK+ involved.
Created attachment 19853 [details] another test case (a bit more geared for those who can't read Malayalam)
attachment 19853 [details] was turned to text/plain from text/html (I attached to http://bugzilla.mozilla.org/show_bug.cgi?id=215219 as attachment http://bugzilla.mozilla.org/attachment.cgi?id=131174). The line alignment is screwed-up, but covers this bug as well as bug 121670, bug 121671, bug 121882 (and perhaps some others because it's pretty extensive except that I removed some Devanagari-specific cases while shifting code points from Devanagari to Malayalam). I put up a couple of 'comparison' screenshots (of Mozilla on Linux with my Pango patch and Mozilla on Win2k) at http://i18nl10n.com/indic/mal1lin.jpg http://i18nl10n.com/indic/mal1win.jpg http://i18nl10n.com/indic/mal2lin.jpg http://i18nl10n.com/indic/mal2win.jpg As I wrote, Mozilla with Pango patch is not the best test platform for Pango, but it seems to sorta work. Anyway, I'll try examples/pangoft2topgm .
cons+ya is caused by the same problem in the indic-ot code as (part of) 121671 ... post base forms are not getting the correct tags. cons+ra needs to be handled specially - there is a FIXME in the ICU code indicating that another script flag needs to be added for this. // FIXME: reformed Malayalam needs to reorder VATTU to before base glyph... I'm not sure what the proper rendering is for the NA+H+RRA+H in your current 'pango-bug.txt' - you don't have a screenshot of the correct rendering for that. So I'm not sure how that fits in.
> I'm not sure what the proper rendering is for the > NA+H+RRA+H in your current 'pango-bug.txt' I updated the screen shots. In this case the rendering of Pango is correct and that of Yudit is wrong. This NA+H+RRA is a special case in Malayalam along with RRA + V + RRA, where RRA actually represents another character. I will post a detailed linguistic analysis of it soon. raj
*** Bug 141704 has been marked as a duplicate of this bug. ***
There are some errors about grub in THOOLIUC.TTF. I used THOOLIUC.TTF to render the conjuction glyphs of Malayalam, and it rendered error. And pango gave the message: Pango-WARNING **: Error loading GPOS table 4097.
sorry, in the first sentence: s/gpos/grub
Created attachment 62443 [details] [review] the patch for fixing this bug and bug335811 I wrote a patch for fixing this bug and bug335811. Then the conjugates of Cons + (U+0d4d) + (U+0d30) can render rightly. And the wrong conjugates in bug335811 can render rightly too.
Hi Raj :), Can you test the patch?
Created attachment 63283 [details] [review] modify the bug about (U+0d32) + (U+0d4d) + (U+0d32) modify the patch for the bug about (U+0d32) + (U+0d4d) + (U+0d32).
The patch is obobsolete.
s/obobsolete/obsolete
Created attachment 69015 [details] [review] my patch I wrote a patch for this bug about the conjuctions of Con + 0d4d + 0d30(Ra).
Thanks. I committed the patch after some clean up. Please test the 1.13.5 release I'm making in a bit. 2006-07-31 Behdad Esfahbod <behdad@gnome.org> Bug 121672 – Ra (vattu) not rendered properly in Malayalam Patch from LingNing Zhang * modules/indic/indic-ot.c (shiftCharsLeft3), (indic_ot_reorder): Reorder combinations of some three chars!