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 447035 - [ml_IN] three combination are render improperly
[ml_IN] three combination are render improperly
Status: RESOLVED OBSOLETE
Product: pango
Classification: Platform
Component: indic
unspecified
Other All
: Normal normal
: ---
Assigned To: Pango Indic
pango-maint
Depends on:
Blocks:
 
 
Reported: 2007-06-13 07:59 UTC by LingNing Zhang
Modified: 2012-08-25 20:46 UTC
See Also:
GNOME target: ---
GNOME version: ---


Attachments
the Screenshot (232.78 KB, image/png)
2007-06-13 08:03 UTC, LingNing Zhang
Details
Screenshot with correct rendering after testing in gedit (71.11 KB, image/png)
2009-10-01 09:55 UTC, Ani Peter
Details

Description LingNing Zhang 2007-06-13 07:59:58 UTC
Please describe the problem:
Description of problem:
3 more combinations has problem with pango/icu  (different for icu)
3)
[അപ്ഗ്റേഡ്]
0D05 + 0D2A + 0D4D + 0D17 + 0D4D + 0D31 + 0d47 + 0D21 + 0D4D

4) [വ്യക്തം]
0D35 + 0D4D + 0D2F + 0D15 + 0D4D + 0D24 + 0d02


5) [ഇന്‍സ്റ്റോള്‍]
0D07 + 0D28 + 0D4D + 200D + 0D38 + 0D4D + 0D31 + 0D4D + 0D31 + 0D4B + 0D33 +
0D4D + 200D

Version-Release number of selected component (if applicable):
pango-1.14.9-3.el5

How reproducible:
Everytime

Steps to Reproduce:
1. open gedit/oowriter
2. type give combination (use att text file)
3. open those in kedit
  
Actual results:
as in gedit/oowriter

Expected results:
as in kedit



Steps to reproduce:



Actual results:


Expected results:


Does this happen every time?


Other information:
Comment 1 LingNing Zhang 2007-06-13 08:03:31 UTC
Created attachment 89870 [details]
the Screenshot

the Screenshot, where  gedit/openoffice is wrong, but kedit is correct.
Comment 2 LingNing Zhang 2007-06-13 08:09:33 UTC
I wrote a patch for fixing bug447033, bug447034 and bug447035.
And I modified indic_shape_engine( ) in this patch, let it handle one by one
syllable, not handle all syllables together.
It can fix the three bugs only by this way.

This patch is below:
http://bugzilla.gnome.org/attachment.cgi?id=89871&action=view
Comment 3 LingNing Zhang 2007-06-13 08:11:02 UTC
The same bug in RedHat Bugzilla is below:
https://bugzilla.redhat.com/bugzilla/show_bug.cgi?id=223169
Comment 4 Rahul Bhalerao 2008-02-10 19:55:04 UTC
Lizhang,
Out of the three combinations, second one is not rendered correctly because of a font problem. Thus it should not be fixed in pango. Properly developed fonts do not have such problems.

First and third combinations (labeled 3 and 5 in description) are general problems regarding the position of 0D47. (0D4B is anyway a split matra that is decomposed into 0D47 and 0D3E, thus 0D47 being the only problematic matra)

IMO, 0D47 should be shifted to the left of the first cluster (first consonant on the left side of the first viram[0D4D] sign) towards its left.

We do not need to hardcode the entire words since they are only examples :)

Lizhang, can you please rewrite the patch only for 0D47's positioning and exclude everything else? :)

Comment 5 arjuna rao chavala 2009-05-31 11:01:59 UTC
I have  created a patch for  a similar Telugu problem, adopting the patch  at comment #2 and modifying the  logic to make it work  properly. It may be  useful to adopt my patch for further work on this problem.
Comment 6 Ani Peter 2009-10-01 09:55:28 UTC
Created attachment 144477 [details]
Screenshot with correct rendering after testing in gedit

Tested all three combinations mentioned in this bug on latest pango: 
pango-1.26.0-1.fc12.i686
Result as follows:

[അപ്ഗ്റേഡ്]
0D05 + 0D2A + 0D4D + 0D17 + 0D4D + 0D31 + 0d47 + 0D21 + 0D4D
There was a confusion between usage of 0d30 and 0d31 earlier. Finally after
lots of discussion in the community, decided to use 0d30 for such combinations.
Hence the combination will be : 0D05 + 0D2A + 0D4D + 0D17 + 0D4D + 0D30 + 0d47 + 0D21 + 0D4D  (അപ്ഗ്രേഡ്) ­.
This works perfectly now

 [വ്യക്തം]
0D35 + 0D4D + 0D2F + 0D15 + 0D4D + 0D24 + 0d02
This works perfect now.


5) [ഇന്‍സ്റ്റോള്‍]
0D07 + 0D28 + 0D4D + 200D + 0D38 + 0D4D + 0D31 + 0D4D + 0D31 + 0D4B + 0D33 +0D4D + 200D
This works perfect now.

Screenshot attached.
Comment 7 Parag AN 2009-10-01 10:38:01 UTC
Ani,
  Thanks for your input.

Behdad,
    Please close this bug. 

NOTE:- This comment is as part of pango Indic module bug triaging.
Comment 8 Behdad Esfahbod 2012-08-25 20:46:37 UTC
HarfBuzz has been merged, Indic shaper removed.  Marking OBSOLETE.