Closed sudhirb closed 10 years ago
If will help if you provide more information about same
The Lohit Gujarati I used is - lohit-gujarati-ttf-2.92.2.tar.gz. Android Version - 4.2.2 Application - any I am using a rooted phone and thus I have installed the font on my entire phone and can view it in any application. This problem can be emulated in any custom made application. Here is a tutorial of how to create a custom application with a custom font - http://www.androidhive.info/2012/02/android-using-external-fonts/
In case you have a rooted phone, you may use this app to install the font - https://play.google.com/store/apps/details?id=com.jrummy.font.installer
I did not understood line "This happens with creation consonants only not with all."
I have tested this at Fedora 19 and it is working fine. I will do testing on Android as well but fear it will take some more time.
Till time do report same bug against Android as well. This looks to me more issue from application side rather than font.
Sorry I meant "This happens with certain consonants only" For example, the error occurs with ક but not with ગ. "ગ" is all fine.
-Sudhir
On 17-Jan-2014, at 3:48 PM, Pravin Satpute wrote:
I did not understood line "This happens with creation consonants only not with all."
I have tested this at Fedora 19 and it is working fine. I will do testing on Android as well but fear it will take some more time.
Till time do report same bug against Android as well. This looks to me more issue from application side rather than font.
— Reply to this email directly or view it on GitHub.
can you give me some actual words where it happens rather than only consonant and matra?
A few example words:
કુદરત કેરલા છંદ છે
-Sudhir
On 17-Jan-2014, at 4:16 PM, Pravin Satpute wrote:
can you give me some actual words where it happens rather than only consonant and matra?
— Reply to this email directly or view it on GitHub.
Thanks a lot.. will update you on same.
We have done number of changes in 2.93.0 version. Please try https://fedorahosted.org/releases/l/o/lohit/lohit-gujarati-ttf-2.5.3.tar.gz and let me know if it works.
Same problem persists with 2.5.3 as well.
-Sudhir
On 28-Jan-2014, at 3:59 PM, Pravin Satpute wrote:
We have done number of changes in 2.93.0 version. Please try https://fedorahosted.org/releases/l/o/lohit/lohit-gujarati-ttf-2.5.3.tar.gz and let me know if it works.
— Reply to this email directly or view it on GitHub.
With more analysis with actual device, i observed following thing
So this must be reported to specific upstream with proper steps to reproduce it.
On the other hand there is two tweaks possible to make Lohit work on it.
If first does not work, there is other option:
Just tested the font with the minor change. Unfortunately the minor fix does not work. I guess option 2 is the only viable solution for now.
Updated http://pravins.fedorapeople.org/Lohit-Gujarati.ttf,
This version works fine and the issue seems fixed. Moreover this issue seems to exists with the Harfbuzz-ng. If we use the older Harfbuzz it seems to be working fine. We are using version 0.9.10 of Harfbuzz-ng.
Thanks for confirmation. I will do minor release specifically for harfbuzz 0.9.10 version and close this issue.
Huh. If nothing else, you should be testing with HarfBuzz master.
0.9.10 is OVER A YEAR old. That's two hackfest's old.
Yes, harfbuzz is performing excellent from last one year :+1: All Lohit fonts giving expected results with harfbuzz ng and we are planning to make them even more efficient with harfbuzz present version.
Sudhir is on the way to release customized smartphone based on android 4.2.2, so this is just short term solution for issue.
But in long term he need to switch to latest harfbuzz version, since this tweak is not going to be part of master branch of Lohit and next releases of lohit-gujarati will again fail.
Lohit Gujarati with fix: https://fedorahosted.org/releases/l/o/lohit/lohit-gujarati-ttf-2.92.2-and-4.2.2.tar.gz
Praving...Can you elaborate all these terms... What is harfbuzz, libharfbuzz.so harfbuzz -ng? How to update it?? What is the use of the attached file "lohit-gujarat-ttf-2.92.2-and-4.2.2.tar.gz"? Please... I want to solve the issue in my MMX110...with a custom ROM JMP 12.15 Tornado...Android 4.1.2..Kernel version 3.4.0
About Harfbuzz: http://www.freedesktop.org/wiki/Software/HarfBuzz/ If you are able to reproduce this issues and your harfbuzz version is same as mentioned in this bug. Then
This I have observed on Android mobile phones when using the font. For example, When we put an "e"( ે ) or "u" ( ૂ ) Matra on a "k" ( ક ) then the matra appears on the next character not the one where it is applied. This happens with creation consonants only not with all. I have observed with "k" ( ક ) and "chha" ( છ ). Please view the attached screenshot to understand better.