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 302577 - Enable touching letters in Sinhala rendering
Enable touching letters in Sinhala rendering
Status: RESOLVED FIXED
Product: pango
Classification: Platform
Component: indic
1.8.x
Other Linux
: Normal normal
: ---
Assigned To: Pango Indic
Pango Indic
Depends on:
Blocks:
 
 
Reported: 2005-04-30 20:46 UTC by Harshula Jayasuriya
Modified: 2005-07-21 20:17 UTC
See Also:
GNOME target: ---
GNOME version: ---


Attachments
Testcase (utf-8) (13 bytes, text/plain)
2005-04-30 20:56 UTC, Harshula Jayasuriya
  Details
Image of the incorrect rendering (7.41 KB, image/png)
2005-04-30 20:57 UTC, Harshula Jayasuriya
  Details
Image of the correct rendering (8.18 KB, image/png)
2005-04-30 20:59 UTC, Harshula Jayasuriya
  Details
The patch that alters the Pango 1.8.1 state table (998 bytes, patch)
2005-04-30 21:14 UTC, Harshula Jayasuriya
none Details | Review

Description Harshula Jayasuriya 2005-04-30 20:46:41 UTC
Distribution/Version: Fedora Core 3

Owen Taylor wrote in Bug 161981:

> * I note that the revised state table doesn't allow for the combination
> zwj + al-lakuna described in the "Touching Letters" section of 
> the "Representation of Sinhala in Unicode". If this is in fact an issue,
> could you file a separate bug for that?

Sinhala encoding uses ZWJ + AL-LAKUNA and Indic encoding uses ZWJ + VIRAMA
(http://www.unicode.org/review/pr-37.pdf). The state table needs to be updated
to accommodate these ligatures.

I'll attach the patch, testcase and images shortly.
Comment 1 Harshula Jayasuriya 2005-04-30 20:56:33 UTC
Created attachment 45878 [details]
Testcase (utf-8)
Comment 2 Harshula Jayasuriya 2005-04-30 20:57:35 UTC
Created attachment 45879 [details]
Image of the incorrect rendering
Comment 3 Harshula Jayasuriya 2005-04-30 20:59:00 UTC
Created attachment 45880 [details]
Image of the correct rendering
Comment 4 Harshula Jayasuriya 2005-04-30 21:14:49 UTC
Created attachment 45882 [details] [review]
The patch that alters the Pango 1.8.1 state table

To test this patch with the test file, please use this font:

http://sinhala.sf.net/files/lklug.modified.otf
Comment 5 Owen Taylor 2005-07-21 20:17:55 UTC
Committed, thanks!

2005-07-21  Owen Taylor  <otaylor@redhat.com>

        * modules/indic/indic-ot-class-tables.c: Enable touching
        for Sinhala with the ZWJ + al-lakuna combination.
        (#302577, Harshula)