Bug 192812

Summary: [ml_IN]GPOS issues in new Malayalam font
Product: [Fedora] Fedora Reporter: Ani Peter <apeter>
Component: lohit-fontsAssignee: Rahul Bhalerao <b.rahul.pm>
Status: CLOSED CURRENTRELEASE QA Contact:
Severity: low Docs Contact:
Priority: low    
Version: 9CC: b.rahul.pm, i18n-bugs, swgoswam
Target Milestone: ---Keywords: i18n
Target Release: ---   
Hardware: All   
OS: Linux   
Whiteboard:
Fixed In Version: Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2009-05-27 22:40:35 UTC Type: ---
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:
Attachments:
Description Flags
Verified Image
none
Updated screenshot
none
Correct glyph for gedit/kedit
none
screenshot for correct and wrong combinations
none
patch for Lohit-Bengali.sfd
none
patch for Lohit-Malayalam.sfd
none
fixed ttf file none

Description Ani Peter 2006-05-23 11:17:07 UTC
Description of problem:
The below shown combinations must be displayed according to the key sequence,
but some GSUB rule is applied and unwanted substitution takes place.
The key combinations are:
(i)   (U + 0D24) + (U + 0D4D) + (U + 0D26)
(ii)  (U + 0D2A) + (U + 0D4D) + (U + 0D2E)
(iii) (U + 0D19) + (U + 0D4D) + (U + 0D15)
Version-Release number of selected component (if applicable):


How reproducible:
Always

Steps to Reproduce:
Case (i) - first combination
1.Open Kbabel application
2.Type U + 0D24
3.Type U + 0D4D
4.Type U + 0D26

Case (ii) - second combination
1.Open Kbabel application
2.Type U + 0D2A
3.Type U + 0D4D
4.Type U + 0D2E

Case (iii) - third combination
1.Open Kbabel application
2.Type U + 0D19
3.Type U + 0D4D
4.Type U + 0D15
  
Actual results:
For all the three cases (i),(ii) and (iii) new character(glyph) is obtained

Expected results:
Case(i) : (U + 0D24) + (U + 0D4D) + (U + 0D26)
The display must be according to the key sequence with (U + 0D4D), which is
known as "Chillu", must be on top of (U + 0D24).

Case(ii) : (U + 0D2A) + (U + 0D4D) + (U + 0D2E)
The display must be according to the key sequence with (U + 0D4D) on top of
(U + 0D2A).

Case(iii) : (U + 0D19) + (U + 0D4D) + (U + 0D15)
The display must be according to the key sequence with (U + 0D4D) on top of
(U + 0D19).


Additional info:

Comment 1 Ani Peter 2006-05-25 11:48:49 UTC
Darshan,

Here, case (iiiI need to be omitted, since it must be substituted with a
conjunct and not to be displayed in key sequence. I have made respective change
in the GSUB bug(#192810). You need to look up only on case (i) and (ii).



Comment 2 Ani Peter 2006-05-26 07:31:57 UTC
Description of problem:
Another bug related to GPOS is the positioning problem of CHILLU (0D4D) in the
following combinations. they must be displayed in the key sequence with chillu's
position after first consonant.

(U + 0D16) + (U + 0D4D) + (U + 0D32)      // (shift+key K) + key D + key N 
(U + 0D18) + (U + 0D4D) + (U + 0D32)      // (shift+key I) + key D + key N 
(U + 0D19) + (U + 0D4D) + (U + 0D32)      // (shift+key U) + key D + key N 
(U + 0D1A) + (U + 0D4D) + (U + 0D32)      // key ; + key D + key N 
(U + 0D1B) + (U + 0D4D) + (U + 0D32)      // (shift+key ;) + key D + key N 
(U + 0D1C) + (U + 0D4D) + (U + 0D32)      // key P + key D + key N 
(U + 0D1D) + (U + 0D4D) + (U + 0D32)      //(shift+key P) + key D + key N 
(U + 0D1E) + (U + 0D4D) + (U + 0D32)      // (shift+key ]) + key D + key N 
(U + 0D1F) + (U + 0D4D) + (U + 0D32)      // key ' + key D + key N 
(U + 0D20) + (U + 0D4D) + (U + 0D32)      // (shift+key ') + key D + key N 
(U + 0D21) + (U + 0D4D) + (U + 0D32)      // key [ + key D + key N 
(U + 0D22) + (U + 0D4D) + (U + 0D32)      // (shift+key [) + key D + key N 
(U + 0D23) + (U + 0D4D) + (U + 0D32)      // (shift+key C) + key D + key N 
(U + 0D24) + (U + 0D4D) + (U + 0D32)      // key L + key D + key N 
(U + 0D25) + (U + 0D4D) + (U + 0D32)      // (shift+key L) + key D + key N 
(U + 0D26) + (U + 0D4D) + (U + 0D32)      // key O + key D + key N 
(U + 0D27) + (U + 0D4D) + (U + 0D32)      // (shift+key O) + key D + key N 
(U + 0D28) + (U + 0D4D) + (U + 0D32)      // key V + key D + key N 
(U + 0D2B) + (U + 0D4D) + (U + 0D32)      // (shift+key H) + key D + key N 
(U + 0D2D) + (U + 0D4D) + (U + 0D32)      // (shift+key Y) + key D + key N 
(U + 0D2F) + (U + 0D4D) + (U + 0D32)      // key / + key D + key N 
(U + 0D30) + (U + 0D4D) + (U + 0D32)      // key J + key D + key N 
(U + 0D31) + (U + 0D4D) + (U + 0D32)      // (shift+key J) + key D + key N 
(U + 0D33) + (U + 0D4D) + (U + 0D32)      // (shift+key N) + key D + key N 
(U + 0D34) + (U + 0D4D) + (U + 0D32)      // (shift+key B) + key D + key N 
(U + 0D35) + (U + 0D4D) + (U + 0D32)      // key B + key D + key N 
(U + 0D37) + (U + 0D4D) + (U + 0D32)      // (shift+key ,) + key D + key N 


Version-Release number of selected component (if applicable):


How reproducible:
Always

Steps to Reproduce:
1.Open Kbabel application
2.Type any consonant from the above list say U + 0D1F (press key ')
3.Type U + 0D4D (press key D)
4.Type U + 0D32 (press key N)  
Actual results:
On executing the above steps, the postion of the U + 0D4D moves and is displayed
after U + 0D32

Expected results:
The result of the above must be just according to the key sequence, ie, the U +
0D4D must be after the first consonant (in example , U + 0D1F) instead of U + 0D32.

Additional info:

Comment 3 Leon Ho 2006-08-28 06:16:09 UTC
Please check fonts-malayalam-2.0.1-1 and latest pango for fixes. Can you confirm
what's left to fix?

Comment 4 Ani Peter 2006-08-31 10:51:29 UTC
The above mentioned issue
ie,
The key combinations are:
(i)   (U + 0D24) + (U + 0D4D) + (U + 0D26)
(ii)  (U + 0D2A) + (U + 0D4D) + (U + 0D2E) are wrong is still existing in the
new font
Regards
Ani

Comment 6 Ani Peter 2006-09-14 07:11:00 UTC
Appreciate if you could confirm on comment#4

Comment 7 Rahul Bhalerao 2006-09-25 07:35:48 UTC
The above mentioned problems do not belong to GPOS catagory.

Comment 8 Ani Peter 2006-09-25 07:56:21 UTC
Dear Rahul,

I had submitted this bug when Darshan Santani was present here. He had
categorised the bugs as GSUB and GPOS and then I submitted them according to his
instructions as I am not familiar with the GPOS and GSUB terms and its defenitions.

Thanks
Ani

Comment 9 Ani Peter 2006-09-25 07:59:51 UTC
(forgot to add something in the above comment)

What I was told was that, some unwanted GSUB rule is being used in the above
combination and thus was asked to comment the bug as above (the first box) and
the same was verified by Darshan Santani. 

If any changes needed to be done pelase advice

Thanks
Ani


Comment 10 Rahul Bhalerao 2006-09-26 21:40:28 UTC
This bug has to be submitted as a part of GSUB issues. On other account, the
problem reported in this bug needs a confirmation from language maintainer, Ani
and respective community, since according to government specifications and
general implementations in community, these are not the bugs.

Comment 11 Ani Peter 2006-09-27 06:21:15 UTC
(i)   (U + 0D24) + (U + 0D4D) + (U + 0D26)
(ii)  (U + 0D2A) + (U + 0D4D) + (U + 0D2E)
For the above mentioned two combinations, what output we get in our font is
wrong. Those glpghs are from the old script and the glyphs are correct for other
two combinations. they are 
(a) (U + 0d30) + (U + 0D41)
(b) (U + 0D39) + (U + 0D4D) + (U + 0D2E) respectively. In our font we have used
the new script and hence the result of combinations (a) and (b) are correct.

Thus I conclude that the combinations (i) and (ii) mentioned in this bug must
not reproduce the wrong result as what it does currently. It must be just the
key sequence.

Should I change this under the GSUB issue?
Regards
Ani

Comment 12 Ani Peter 2006-09-27 07:08:08 UTC
However,since these combinations are used very rarely, can set the priority low. 

Thanks
Ani



Comment 13 Rahul Bhalerao 2006-09-28 10:43:20 UTC
Since GPOS issues have been already resolved, the problem stated above will be
reported in some other bug. The original bug is fixed in 2.0.1-1.

Comment 14 Lawrence Lim 2006-09-29 03:09:48 UTC
Which group (Pri A, B, or C) of the bugs does this belong to??

Comment 15 Rahul Bhalerao 2006-09-29 04:21:39 UTC
This is Pri C.

Comment 16 Leon Ho 2006-10-16 11:10:38 UTC
All problem in here should be fixed. QE, Ani please confirm for Rahul

Comment 17 A S Alam 2007-04-27 11:49:56 UTC
Created attachment 153609 [details]
Verified Image

Comment 18 A S Alam 2007-04-27 11:51:14 UTC
Ani,
can you please check and verify, whether you want this as Pango/QT has same output

Comment 19 A S Alam 2007-05-18 11:39:17 UTC
Created attachment 154988 [details]
Updated screenshot

Comment 20 Ani Peter 2007-05-18 12:08:43 UTC
Created attachment 154989 [details]
Correct glyph for gedit/kedit

The glyph in (i) and (ii) and the correct ones for their respective
combinations as shown in screenshot.

Thanks
Ani

Comment 21 A S Alam 2007-05-18 13:36:53 UTC
Based on comment #20, (Translator) mention that bug was not fixed yet, so ASSINED

Comment 22 Rahul Bhalerao 2008-01-23 18:12:25 UTC
I am unable to understand the comment #20. 
Ani, can you please make the point clear and let me know the current state of
the problems described in this bug?

Comment 23 Ani Peter 2008-01-24 05:53:35 UTC
Rahul,

This bug addresses to problem with two conjunts:

Actual result:
Case 1.a.0D2A + 0D4D + 0D2E gives a wrong conjunct. 
       b.This wrong conjunct must be the result of 0D39 + 0D4D + 0D2E.

Case 2.0D24 + 0D4D + 0D26 gives a wrong conjunct

Expected result:
Case 1.a.0D2A + 0D4D + 0D2E must not give a conjunt instead the output must be
just a key sequence
       b.0D39 + 0D4D + 0D2E must be giving the conjunct that is currently being
formed using the Case 1.a combinations.

Case 2.0D24 + 0D4D + 0D26 must not give a conjunt.

Hope this is clear now. Issue still exist.

Please find the screenshot attached below

Comment 24 Ani Peter 2008-01-24 06:03:28 UTC
Created attachment 292728 [details]
screenshot for correct and wrong combinations

Comment 25 Rahul Bhalerao 2008-01-24 07:50:15 UTC
Created attachment 292748 [details]
patch for Lohit-Bengali.sfd

This patch fixes the two combinations ligature rules in the .sfd file.

Comment 26 Rahul Bhalerao 2008-01-24 07:50:32 UTC
Created attachment 292749 [details]
patch for Lohit-Malayalam.sfd

This patch fixes the two combinations ligature rules in the .sfd file.

Comment 27 Rahul Bhalerao 2008-01-24 07:52:23 UTC
Created attachment 292750 [details]
fixed ttf file

Ani, please test this font file before I can build it for fedora.

Comment 28 Ani Peter 2008-01-24 08:46:06 UTC
Rahul,

Attached font file tested and all combinations are giving correct results.

Thanks
Ani

Comment 29 Rahul Bhalerao 2008-01-25 12:03:26 UTC
Fixed in lohit-fonts-malayalam-2.1.8-1.fc9.

Comment 30 Bug Zapper 2008-05-14 02:10:01 UTC
Changing version to '9' as part of upcoming Fedora 9 GA.
More information and reason for this action is here:
http://fedoraproject.org/wiki/BugZappers/HouseKeeping

Comment 31 Tony Fu 2008-09-10 03:17:45 UTC
requested by Jens Petersen (#27995)

Comment 32 Jens Petersen 2009-05-27 22:40:35 UTC
Closing - please reopen if there should still be any problem.