Created attachment 490712 [details] Actual and correct rendering Description of problem: ra+ ZWJ+ halanth + consonant + aa (0CB0 + 200D + 0CCD + 0C95+ 0CBE) is wrongly rendering Version-Release number of selected component (if applicable): lohit-kannada-fonts-2.4.5-4.fc14.noarch How reproducible: Every time Steps to Reproduce: 1.Open any text editor (say gedit) 2.Input following raw code key sequence: 0CB0 + 200D + 0CCD + 0C95+0CBE 3.Look at the resulting glyph Actual results: Shown in the attachment Expected results: Shown in the attachment Additional info: This was tested with following rendering engines: libicu-4.4.1-6.fc14.x86_64 qt-4.7.1-17.fc14.x86_64 pango-1.28.1-5.fc14.x86_64
Created attachment 490713 [details] Using different rendering engines
Hi Pravin, Got some more clue but still confused about ZWJ and ZWNJ issue. Kedage font has no issues when tested with ICU rendering engine(XeLaTeX and LibreOffice). Steps: 1. Copy ರ್ಯಾಂಕ್ to OpenOffice/LibreOffice 2. Select text and change font to Kedage and check. 3. Select text and change font to Lohit Kannada and check. Examined Kedage fonts and Lohit Kannada fonts to see the difference between two fonts about ZWJ implementation. Kedage font didn't have glyph for ZWJ(empty glyph). So for testing I cleared the ZWJ glyph(Right click and clear) and then generated the font with different name. Now Lohit Kannada also works fine with ICU rendering engine. But all Kannada fonts fail to render properly in Pango and QT. (As of now works in ICU) Haven't tested in Harfbuzz because of some Harfbuzz compilation issue in my machine. Please suggest how we can proceed to fix this issue. -- Regards Aravinda | ಅರವಿಂದ http://aravindavk.in
Kedage fails in harfbuzz-ng as well Problem in pango and qt as well. Removing character is not correct solution. any idea about windows, is it work there?
(In reply to comment #3) > Kedage fails in harfbuzz-ng as well > Problem in pango and qt as well. Removing character is not correct solution. > > any idea about windows, is it work there? @Pravin, I didn't mentioned the solution, I removed the glyph only to confirm the behaviour of ICU and I was curious about how Kedage font is rendering. Awaiting pointers to fix this issue. Right now, don't have the windows machine, will get the screen shot and upload.
Created attachment 531502 [details] ZWJ in Windows XP
Created attachment 531503 [details] ZWJ in Win 7
In Windows before PR37(http://unicode.org/review/pr-37.pdf) announced they adopted ZWNJ to render these cases. Fixed this issue in Windows 7. So tested both cases in Windows. Enclosed the screenshots from Win XP and Win7.
Me too tested in Windows vista, but lohit and default windows font does not give correct behaviour. Since it is working in "Windows 7" i am sure we need fix from rendering engine side. kindly report bug @ http://bugs.icu-project.org/trac/newticket , might be you know already regarding harfbuzz-ng project. Its still under development i will add this test case into it.
My investigation on this issue using Tunga on LibreOffice 1. Typing the following key sequence using kn-itrans renders ರ್ಯಾಂಕ್ just fine. Key sequence - ra + zwj (shift + space) + .h (for halant) + yaaMk
lohit-oriya-fonts-2.5.1-1.fc17,lohit-kannada-fonts-2.5.1-1.fc17,lohit-punjabi-fonts-2.5.1-1.fc17,lohit-telugu-fonts-2.5.1-1.fc17,lohit-malayalam-fonts-2.5.1-1.fc17,lohit-gujarati-fonts-2.5.1-1.fc17 has been submitted as an update for Fedora 17. https://admin.fedoraproject.org/updates/lohit-oriya-fonts-2.5.1-1.fc17,lohit-kannada-fonts-2.5.1-1.fc17,lohit-punjabi-fonts-2.5.1-1.fc17,lohit-telugu-fonts-2.5.1-1.fc17,lohit-malayalam-fonts-2.5.1-1.fc17,lohit-gujarati-fonts-2.5.1-1.fc17
lohit-gujarati-fonts-2.5.1-1.fc16,lohit-malayalam-fonts-2.5.1-1.fc16,lohit-telugu-fonts-2.5.1-1.fc16,lohit-punjabi-fonts-2.5.1-1.fc16,lohit-kannada-fonts-2.5.1-1.fc16,lohit-oriya-fonts-2.5.1-1.fc16 has been submitted as an update for Fedora 16. https://admin.fedoraproject.org/updates/lohit-gujarati-fonts-2.5.1-1.fc16,lohit-malayalam-fonts-2.5.1-1.fc16,lohit-telugu-fonts-2.5.1-1.fc16,lohit-punjabi-fonts-2.5.1-1.fc16,lohit-kannada-fonts-2.5.1-1.fc16,lohit-oriya-fonts-2.5.1-1.fc16
Package lohit-oriya-fonts-2.5.1-1.fc17, lohit-kannada-fonts-2.5.1-1.fc17, lohit-punjabi-fonts-2.5.1-1.fc17, lohit-telugu-fonts-2.5.1-1.fc17, lohit-malayalam-fonts-2.5.1-1.fc17, lohit-gujarati-fonts-2.5.1-1.fc17: * should fix your issue, * was pushed to the Fedora 17 testing repository, * should be available at your local mirror within two days. Update it with: # su -c 'yum update --enablerepo=updates-testing lohit-oriya-fonts-2.5.1-1.fc17 lohit-kannada-fonts-2.5.1-1.fc17 lohit-punjabi-fonts-2.5.1-1.fc17 lohit-telugu-fonts-2.5.1-1.fc17 lohit-malayalam-fonts-2.5.1-1.fc17 lohit-gujarati-fonts-2.5.1-1.fc17' as soon as you are able to. Please go to the following url: https://admin.fedoraproject.org/updates/FEDORA-2012-2820/lohit-oriya-fonts-2.5.1-1.fc17,lohit-kannada-fonts-2.5.1-1.fc17,lohit-punjabi-fonts-2.5.1-1.fc17,lohit-telugu-fonts-2.5.1-1.fc17,lohit-malayalam-fonts-2.5.1-1.fc17,lohit-gujarati-fonts-2.5.1-1.fc17 then log in and leave karma (feedback).
I have not fixed this bug yet. This is look like from rendering engine side.
Package lohit-gujarati-fonts-2.5.1-1.fc16, lohit-malayalam-fonts-2.5.1-1.fc16, lohit-telugu-fonts-2.5.1-1.fc16, lohit-punjabi-fonts-2.5.1-1.fc16, lohit-kannada-fonts-2.5.1-1.fc16, lohit-oriya-fonts-2.5.1-1.fc16: * should fix your issue, * was pushed to the Fedora 16 testing repository, * should be available at your local mirror within two days. Update it with: # su -c 'yum update --enablerepo=updates-testing lohit-gujarati-fonts-2.5.1-1.fc16 lohit-malayalam-fonts-2.5.1-1.fc16 lohit-telugu-fonts-2.5.1-1.fc16 lohit-punjabi-fonts-2.5.1-1.fc16 lohit-kannada-fonts-2.5.1-1.fc16 lohit-oriya-fonts-2.5.1-1.fc16' as soon as you are able to. Please go to the following url: https://admin.fedoraproject.org/updates/FEDORA-2012-3083/lohit-gujarati-fonts-2.5.1-1.fc16,lohit-malayalam-fonts-2.5.1-1.fc16,lohit-telugu-fonts-2.5.1-1.fc16,lohit-punjabi-fonts-2.5.1-1.fc16,lohit-kannada-fonts-2.5.1-1.fc16,lohit-oriya-fonts-2.5.1-1.fc16 then log in and leave karma (feedback).
I did some more analysis on this. 1. This combination works proper on Windows with Tunga fonts. 2. Lohit Kannada fails with Windows8, so i think we need fix in Lohit Kannada. But same time Tunga font fails with Harfbuzz as well, so we need to wait for Harfbuzz to fix this. Once that done we can add some specific rules in Lohit to handle this sequence. Unicode has entry for this behaviour:- Unicode Chapter 9-> Kannada -> Consonant Clusters Involving RA provides more information on same.
I fixed this issue in Gubbi font. Works fine with Harfbuzz. https://github.com/downloads/aravindavk/Gubbi/Gubbi-1.3.zip
Aravinda. That's nice. As per Unicode this combination only allowed for Ra, you have added all consonants for this one. Do you have any other reference or uses for this?
Pravin, You are right. We need that rule only for Ra. I will modify the rule accordingly. I didn't find any reference to change this, I used hb-shape to see the reordering so that I will understand which rule is failing or which rule is required.
Thanks for confirmation, I will fix this in lohit kannada. Was just wondering how many ardha_cons shapes need to be added in kannada.
I have committed changes in lohit upstream. Aravinda, it will be very helpful if you can test it once and let me know what is remaining. Basically i have added rule for so "u0CB0 ZWJ (All Matra)" should give expected output now.
Pravin, Tested the modified font now. Works great in Harfbuzz and m17n. Still has issues in KDE, Pango and ICU. But the issue is fixed from Font side. We can close this bug.
Thanks Aravinda for confirmation. Hoping soon harfbuzz will be integrated with QT and ICU.
This bug appears to have been reported against 'rawhide' during the Fedora 19 development cycle. Changing version to '19'. (As we did not run this process for some time, it could affect also pre-Fedora 19 development cycle bugs. We are very sorry. It will help us with cleanup during Fedora 19 End Of Life. Thank you.) More information and reason for this action is here: https://fedoraproject.org/wiki/BugZappers/HouseKeeping/Fedora19
I am seeing this one works fine with Harfbuzz 0.9.17 as well with master version. One bug is already open in upstream against Harfbuzz https://bugs.freedesktop.org/show_bug.cgi?id=58714 Closing this.