[Q] Indic font(Kannada) is not rendering properly in Android ICS - Android Q&A, Help & Troubleshooting

I am trying to get the kannada font support for Android ICS. I rooted my Xperia Neo L phone which is running Android ICS 4.0.4 and installed Kannada font (Lohit-Kannada.ttf). I have also included the Lohit-Kannada font as family-set in fallback_fonts.xml in the framework. After that, I am able to see the kannada fonts render in browser but the complex script is not supported. Glyphs are not rendered in proper way, though it is just readable. Other indic languages like Tamil, Hindi, Bengali etc renders perfectly but my language is not rendering properly. Someone suggested me to go thru this blog. androidandsandu.blogspot.in/2011/12/how-to-add-indian-languages-to-android.htm But i'm not able to find out where to make those file changes. I mean where is that lohit-fonts directory, where is the android.mk file? I'm not able to find those folders or those files in my phone. Any help please?

Related

[Q] How to import language support for the roms?

Dear All Friends;
I tried to cook my roms for about 6 months, and I have some good progess, but the only thing that I can not fix is, that I could not add persian(Or arabic) language support to roms, and this is because of the nature of the languages, I do not need the roms to show any menu or anything in persian, but I want them to support the characters and show them good.
The persian need characters to be connected and written from right to left, but in any rom that you COPY just FONTS, the rom just shows the characters in not proper format.
After many researches I found that language related files are, libskia, libskiagl and webcore in libs folder, so I tried to use these libs files and copy them from A rom that support these well to my rom, but after doing this, the rom does not run properly and stoped at the HTC logo at the starting of the cellphone in HTC SPLASH SCREEN...
I do not know what should I do..
If any one knows anything about this, please help me..
Any help has been appreciated...
The way to import is:
1- Add your language ( here persian ) to System/Fonts ( maybe you need to replace with the existed fonts. )
2- In some languages (Hebrew, Arabic, Persian) you need to have the usefull LIBSKIA, LIBSKIAGL and WEBCORE in your system/libs to support the characters that you added in first step, correctly.
The problem:
I tried to add the LIBSKIA, LIBSKIAGL and WEBCORE from a rom that supports the Persian and Arabic well to this folder in my own rom that did not support those well.
BUT, After installing rom in cellphone, It did not go to HomeScreen and freezed in HTC SPLASH SCREEN that showed in rom installing time.
I do not know how can I use them, please some one help me...
And me too
mercury700ir said:
The way to import is:
1- Add your language ( here persian ) to System/Fonts ( maybe you need to replace with the existed fonts. )
2- In some languages (Hebrew, Arabic, Persian) you need to have the usefull LIBSKIA, LIBSKIAGL and WEBCORE in your system/libs to support the characters that you added in first step, correctly.
The problem:
I tried to add the LIBSKIA, LIBSKIAGL and WEBCORE from a rom that supports the Persian and Arabic well to this folder in my own rom that did not support those well.
BUT, After installing rom in cellphone, It did not go to HomeScreen and freezed in HTC SPLASH SCREEN that showed in rom installing time.
I do not know how can I use them, please some one help me...
Click to expand...
Click to collapse
I have this prob in froyo and android 2.3.1 too, plz if anyone can help
artayofski said:
I have this prob in froyo and android 2.3.1 too, plz if anyone can help
Click to expand...
Click to collapse
Guys,
I heard from android developers that HarfBuzz (which used in chrome for complex layout) will be used in honeycomb. So most probably all the languages that Chrome/Chromium support will be supported in honeycomb. Hope some one could port this to 2.1 2.2 2.3 also. I don't know weather the source is available yet.
http://groups.google.com/group/android-platform/browse_thread/thread/3dc8d17daf955348
well i have tried that too it doesnt work
i think only 2 developers were succesful in doing that
ayman el snd in his web site ardoid .com he makes a custom .zip flashable file for each rom specifically and you are right this 2 lib files (libwebcore.so & libskia.so)are modified and also framework.jar
so its rom specific not in general
and there were an arabic developer here on xda which provided cyanogen with arabic support in his latest roms so any rom based on cyanogenmod rom latest supports arabic but limited only to messaging and you have to install smart keyboard and arabic keyboard for smart keyboard so you can write arabic
and for browser the only way to show arabic letters properly is installing persian browser which fixes the problem after each page loads
ofcourse its partial solutions
i would love to help on anyway to provide a way to custom edit the lib files of any rom just needs DEVs here to point the way how to edit such files
maxmyo said:
well i have tried that too it doesnt work
i think only 2 developers were succesful in doing that
ayman el snd in his web site ardoid .com he makes a custom .zip flashable file for each rom specifically and you are right this 2 lib files (libwebcore.so & libskia.so)are modified and also framework.jar
so its rom specific not in general
and there were an arabic developer here on xda which provided cyanogen with arabic support in his latest roms so any rom based on cyanogenmod rom latest supports arabic but limited only to messaging and you have to install smart keyboard and arabic keyboard for smart keyboard so you can write arabic
and for browser the only way to show arabic letters properly is installing persian browser which fixes the problem after each page loads
ofcourse its partial solutions
i would love to help on anyway to provide a way to custom edit the lib files of any rom just needs DEVs here to point the way how to edit such files
Click to expand...
Click to collapse
Thanks man...
You helped me so much..
You mentioned that those lib files that the aymen el snd made is not for a specific device, Am I Right???
It means we can use them in our roms, but how does this possible?? Each rom needs its own libs, how can we use one lib for all the devices?? (Would you please talk about it more? and which version of roms do these libs support? (2.2 ,2.1 or 2.3)
mercury700ir said:
Thanks man...
You helped me so much..
You mentioned that those lib files that the aymen el snd made is not for a specific device, Am I Right???
It means we can use them in our roms, but how does this possible?? Each rom needs its own libs, how can we use one lib for all the devices?? (Would you please talk about it more? and which version of roms do these libs support? (2.2 ,2.1 or 2.3)
Click to expand...
Click to collapse
well what i'm said that he is making a .zip file for each rom release he is always up to date with new releases of roms like the OTA roms and cyanogenmod roms
you can check his website for more details of the supported devices and roms
he made a generic .zip file but that mostly doesnt work
what i have learned that he gets the lib files source code of a certain rom and then add the arabization codes then compile the lib files so the lib files would be identical to the ones in the rom + arabization snippets of code
i'm glad to help you in anyway
i really want to have more time to investigate that but i dont for now
maxmyo said:
well what i'm said that he is making a .zip file for each rom release he is always up to date with new releases of roms like the OTA roms and cyanogenmod roms
you can check his website for more details of the supported devices and roms
he made a generic .zip file but that mostly doesnt work
what i have learned that he gets the lib files source code of a certain rom and then add the arabization codes then compile the lib files so the lib files would be identical to the ones in the rom + arabization snippets of code
i'm glad to help you in anyway
i really want to have more time to investigate that but i dont for now
Click to expand...
Click to collapse
Thanks a lot for your attention...
I saw his web page, and find what he did...
unfortunately I did not find anything for HTC Legend, so I need to do what you said myself, if I want to do this for legend..
The problem is I am programming in VB.Net not Java or C# or C++, so I am strange in codding in java for doing this...
I have to find a way to do this, find the Arabbizer Snippets...
At least, can anyone tell me, how can we open .SO files in library?? ( I mean, how can we open for example, libskia.so or ... and again repack them..??? )
and absolutely it is appreciable if anyone can help about the res-framework.apk, that which part of it should be manupulated for adding arabic/persian suuport???
At least, can anyone tell me, how can we open .SO files in library?? ( I mean, how can we open for example, libskia.so or ... and again repack them..??? )
and absolutely it is appreciable if anyone can help about the res-framework.apk, that which part of it should be manupulated for adding arabic/persian suuport???

Samsung Indian fonts for Stock ICS/JB rom

All samsung users from Indian subcontinet are thankful to samsung for supporting indian regional languages in thier touchwiz and now nature ux firmwares. But not good enough for we flashers. I am bit of homesick for stock google roms. And we all know that vanilla ICS and JB doens't support indian regional languages (I heard that JB now supports hindi and some regional languages but tried and tested that it doens't support my mother tounge "gujarati").
Till now I used to replace DroidSansFallback.ttf with the one that has got indian language support but it doens't renders properly and as it replaces main droidsans.... native english fonts gets bad sometimes. Something I would not like to do with JB as its native fonts are so so good.
Cutting long story short.. my question is that, Is there a way we can use samsung fonts (from sammy firmware) and make them to work with AOSP ICS / JB roms. I have tried doing this
1. tried installing fonts through font changer
2. tried replacing AOSP fonts with Sammy fonts into the zip and than tried flashing
3. tried copying indian fonts into the system/fonts with permissions
But none of the option work. The only option that works is replacing droidsansfallback.ttf with indian unicode fonts (that doens't rener properly and makes english fonts look ugly).
Please please can some one plese sort this out for all of Indian users. I have seen developers providing support for arabic. Now please widen your support and provide tutorial for that.
Pardon for my bad english.
Hi,
all the stock browsers including aosp supports indian languages. if you mean font support for overall UI then i think its not possible.
Yeah bhavu I am facing the same issue pm me if any solution arrives
Sent from my GT-I9100 using Tapatalk 2
My major requirement is reading books and articles in apps like POCKET, so only i always stuck into stock Samsunf ROMs, so that i dont loose the rendering. Hopfully someone compiling Custom ROMs like CM 10 or 10.1 should help in fixing this issue.

keyboard android 4.2

I like to use the new keyboard from android 4.2 but it's not included the dictionary of my language like it does in my original aosp keyboard, so I tried to get the keyboard dictionary from my old apk,
And put it into the new 4.2 apk, and then I packed it back to zip, and I changed the name to ***.apk but it can be installed, it says, the app was not installed...
What do I need to do???
Please help
Sent from my GT-I9000
With cm10 fishers
I would like to know the answer to that question, too. I'm interest to add Hungarian sand Romanian as additional add-on dictionaries.
I'd also like to use the 4.2 keyboard on my HTC Doubleshot with CM 9.1. Where did you guys download it? I only found the package for 4.1 devices. And of course I'd like to use the system dictionary.
Also, I've tried the pre-release keyboard install method and it didn't work when I flashed the .zip. However now that the code is out it's principally pretty easy to create an .apk right? Also can this made the way so that it uses the system dicitonaries?
Thanks

[Q] Indic font(Kannada) is not rendering properly in Android ICS

I am trying to get the kannada font support for Android ICS. I rooted my Xperia Neo L phone which is running Android ICS 4.0.4 and installed Kannada font (Lohit-Kannada.ttf). I have also included the Lohit-Kannada font as family-set in fallback_fonts.xml in the framework. After that, I am able to see the kannada fonts render in browser but the complex script is not supported. Glyphs are not rendered in proper way, though it is just readable. Other indic languages like Tamil, Hindi, Bengali etc renders perfectly but my language is not rendering properly. Someone suggested me to go thru this blog - androidandsandu.blogspot.in/2011/12/how-to-add-indian-languages-to-android.html But i'm not able to find out where to make those file changes. I mean where is that lohit-fonts directory, where is the android.mk file? I'm not able to find those folders or those files in my phone. Any help please?

Problem of emojis with the new Fleksy keyboard's version

Hello all
Fleksy keyboard it's the best keyboard in the Play Store (in my opinion).
But now I have a problem with it :/ I wil try to explain everything and be as clear as possible.
So I have a Galaxy S3 with custom rom in Android 7.1 and a custom font (ios emojis I prefer them) for the emojis because the android's emojis look ugly ^^
The file for the fonts it's NotoColorEmoji.ttf (in /system/font) as you probably know and for the moment it's look like that :
with IOS emojis as I said
But with the new update (8.5.0) of the app the emojis has changed. I mean the files in the apk are not the same !
Before in the 8.4.7 apk there was a "emojis.json" and now in the 8.5.0 apk there is a "emojisCompact.json" with NotoColorEmojisCompact.ttf'. And with this update it's look like this :
you see that it's not the same emojis I mean when I click on the emojis it's a ios emoji (because I modified my font like I said before) but the look is not the same, there seems to have a "overlay"
I tried to modify the apks but it didn't work.. What I want it's the new Fleksy (in 8.5.0) but with the look as before with correct emojis look
So to resume all I said
I know that my problem is not so big it's just a matter of look and taste but it's very annoying to have ugly emojis ^^
(I wanted to upload the json files to show you but it doesn't work ..)
(I wanted to upload the apks files but they are too big)
Anyone to help me ?
go to the settings of Fleksy and untick the option "use android oreo emojis"

Categories

Resources