After an evaluation, GNOME has moved from Bugzilla to GitLab. Learn more about GitLab.
No new issues can be reported in GNOME Bugzilla anymore.
To report an issue in a GNOME project, go to GNOME GitLab.
Do not go to GNOME Gitlab for: Bluefish, Doxygen, GnuCash, GStreamer, java-gnome, LDTP, NetworkManager, Tomboy.
Bug 121670 - Chillu in Malayalam not properly rendered
Chillu in Malayalam not properly rendered
Status: RESOLVED FIXED
Product: pango
Classification: Platform
Component: indic
1.2.x
Other Linux
: Normal normal
: Medium fix
Assigned To: Pango Indic
Pango Indic
Depends on:
Blocks:
 
 
Reported: 2003-09-07 13:51 UTC by Rajkumar S
Modified: 2006-07-11 03:34 UTC
See Also:
GNOME target: ---
GNOME version: ---



Description Rajkumar S 2003-09-07 13:51:33 UTC
Chillu in malayalam is not rendered properly for Malayalam. This bug is
dependent on bug #118302 as ZWJ and ZWNJ are required to properly render
chillu in Malayalam. A screen shot of pango rendering and yudit rendering
for this is available at
http://www.linuxense.com/oss/render/mozilla/ml-bugs.html#chillu

A general overview of rendering malayalam is available at
http://www.linuxense.com/oss/render/

I am using mozilla with patches from  Bug #215219 as an example of pango
rendering. The correct rendering is taken from latest yudit. Pango used is
debian version installed in my system.

raj@swathi:~/rendering/mozilla$ dpkg -l | grep libpango
ii  libpango1.0-0  1.2.3-1        Layout and rendering of internationalized te
ii  libpango1.0-co 1.2.3-1        Modules and configuration files for the Pang
ii  libpango1.0-de 1.2.3-1        Development files for the Pango
Comment 1 Owen Taylor 2003-09-15 11:00:12 UTC
There are several parts to this:

 - Pango needs to pass the ZWJ/ZWNJ to the Indic code
   with the rest of the string
 - The indic code needs to have explicit handling, where
   for Malayalam, it only adds the 'hlnt' feature for
   sequences like RA+H+ZWJ and not for arbitrary occurences
   of RA+H
   (Both the Unicode and OpenType documentation are distressingly
   unclear on this issue)
 - It looks like more special handling is needed to get
   RRA+H+ZWJ to render with the same Chillu form as RA+H+ZWJ 
   (etc.) ... I would have expected this to be handled in the
   font, but that doesn't seem to be the case. 
Comment 2 Rajkumar S 2003-09-15 20:26:19 UTC
attaching a mail from Michael Everson about chill encoding. He is
referring to http://www.linuxense.com/oss/render/

Raj,

I wrote the section on Malayalam in Unicode 4.0


The visible chandrakala MUST be followed by a ZWNJ in order to make it
visible. It should function just like the virama does. To look at your
example of MAI-KRO-SO-FT, the way you have it written:

PHA + VIRAMA + RRA + VIRAMA + RRA + VIRAMA

(are they really RRAs?)

can only lead into triple conjunct expecting yet a fourth consonant
after. To get what you have you should have:

PHA + VIRAMA + ZWNJ + RRA + VIRAMA + RRA + VIRAMA + ZWNJ

Your suggestion "if they exist or two consonants joined by chandrakala
if they do not exist" is really an error state; in principle the
conjunct could be drawn, even if it doesn't exist.
-- 
Michael Everson * * Everson Typography *  * 
Comment 3 Owen Taylor 2004-12-15 18:52:01 UTC
Would be good if someone summarized here what came out of the
unicode-indic discussions.
Comment 4 LingNing Zhang 2006-07-06 08:27:45 UTC
This bug is similar with bug345070.
I wrote a patch for fixing bug345070, so I think that the patch also can fix bug121670.
Who would test it? 
Comment 5 Behdad Esfahbod 2006-07-11 03:34:07 UTC
Closing, seems like it should be fixed now.  Open a new bug if there are remaining issues.