GNOME Bugzilla – Bug 351223
the conjuction of Con + 0x0d4d +0x0d31 of Malayalam is wrong
Last modified: 2006-09-13 23:04:10 UTC
Please describe the problem: The conjuction of Con + 0x0d4d +0x0d31 of Malayalam is wrong. Its glyph need be the same as the conjuction of Con + 0x0d4d +0x0d30. Steps to reproduce: Actual results: Expected results: Does this happen every time? Other information:
Created attachment 70853 [details] [review] my patch I wrote a patch to handle the special conjuction of Cons + 0x0d4d + 0x0d31 of Malayalam.
Can you add a function: static void swapChars(Output *output, int a, int b) and then call + if ((baseConsonant - 2 >= 0) && + (chars[baseConsonant - 1] == 0x0d4d) && + (chars[baseConsonant] == 0x0d31) && + ((chars[baseConsonant - 2] >= 0x0d15) && + (chars[baseConsonant - 2] <= 0x0d39))) { + swapChars (&output, -1, -3);
Also, can't you fix this by changing some property in some table?
ok, I will do it. This is a speical conjuction's rule of Malayalam, it is very different with the common conjuctions' rule of Indic. So it can not be fixed by changing some property in some table.
Created attachment 72532 [details] [review] modified patch I modified the patch.
2006-09-13 Behdad Esfahbod <behdad@gnome.org> Bug 351223 – the conjuction of Con + 0x0d4d +0x0d31 of Malayalam is wrong Patch from LingNing Zhang * modules/indic/indic-ot.c (swapChars), (indic_ot_reorder): Special case the above case.