Stock Android currently doesn't support Sanskrit/Hindi (Devnagri lipi Character Set). I see Square boxes like ☐ instead of characters अ आ इ ई उ ऊ on Unicode or UTF8 compliant Hindi websites. Even Google Hindi website doesnt open properly through my HTC Hero's stock Android 1.5 browser or any other browser like Dolphin, etc.
Has anyone figured out how to support Non-English fonts like Devnagri lipi (Sanskrit/Hindi) fonts in Android OS? I want to change my default font to see Devnagri numerals: ०,१,२,३,४,५,६,७,८,९ instead of Roman numerals: 0,1,2,3,4,5,6,7,8,9. I want my clock to use Devnagri numerals instead of Roman numerals.
Can someone please help?
prateekandroid said:
Stock Android currently doesn't support Sanskrit/Hindi (Devnagri lipi Character Set). I see Square boxes like ☐ instead of characters अ आ इ ई उ ऊ on Unicode or UTF8 compliant Hindi websites. Even Google Hindi website doesnt open properly through my HTC Hero's stock Android 1.5 browser or any other browser like Dolphin, etc.
Has anyone figured out how to support Non-English fonts like Devnagri lipi (Sanskrit/Hindi) fonts in Android OS? I want to change my default font to see Devnagri numerals: ०,१,२,३,४,५,६,७,८,९ instead of Roman numerals: 0,1,2,3,4,5,6,7,8,9. I want my clock to use Devnagri numerals instead of Roman numerals.
Can someone please help?
Click to expand...
Click to collapse
The problem is obviously with the font and Android being unable to recognize it -- which leaves me to believe that the fonts you're trying to use are UNI-CODE and actually should be TTF (True Type Face). However, I would try different variants of the font you're looking for. I did some searching and this is what I've found (below). I don't know what characters I'm supposed to look for, but the site I found seemed somewhat helpful and apparently they might have the fonts you're looking for. If so, you need to push the font files you find to your /system/fonts/ folder of your phone -- but HAVE to rename the the font files. One needs to be called DroidSans and the other DroidSans-Bold -- Case sensitive for both.
If you'd like -- I can make an update.zip file for you instead. All you would need to do however it tell me which font you are considering and either upload the font here or give me a link where I can download and package it. Hope that helps.
Just remember that IF and when you find the font file you need, that it has an .ttf extension -- which is where I think your problem is.
http://www.wazu.jp/gallery/Fonts_Devanagari.html
Click to expand...
Click to collapse
pseudoremora said:
The problem is obviously with the font and Android being unable to recognize it -- which leaves me to believe that the fonts you're trying to use are UNI-CODE and actually should be TTF (True Type Face). However, I would try different variants of the font you're looking for. I did some searching and this is what I've found (below). I don't know what characters I'm supposed to look for, but the site I found seemed somewhat helpful and apparently they might have the fonts you're looking for. If so, you need to push the font files you find to your /system/fonts/ folder of your phone -- but HAVE to rename the the font files. One needs to be called DroidSans and the other DroidSans-Bold -- Case sensitive for both.
If you'd like -- I can make an update.zip file for you instead. All you would need to do however it tell me which font you are considering and either upload the font here or give me a link where I can download and package it. Hope that helps.
Just remember that IF and when you find the font file you need, that it has an .ttf extension -- which is where I think your problem is.
Click to expand...
Click to collapse
Thank you for a prompt reply. The website you suggested is very helpful and I think Mangal or Arial Unicode MS are the best bet. It took me a while to find these fonts, sorry for a little late response.
Unfortunately, I could only find Mangal.ttf (201 KB) & ArialUni.ttf (22 MB) but not their respective "-Bold.ttf" fonts as you mentioned.
I can use Mangal.ttf in MS Office 2007 to write in Sanskrit/Hindi and it lets me format the text (bold, italics, resize, etc.).
Would it be enough to push this one font? Since Mangal-Bold.ttf is not available specifically.
Also, does pushing a font to ADB means that it overwrites the new font over the existing font in Android? Since we'll be renaming new font to already existing DroidSans.ttf. Or does it merge the two fonts?
I have attached Mangal.ttf (in a zip) to this post since that has a smaller size (201 KB) than ArialUni.ttf (22 MB). Would really appreciate if you could please create an Update.zip with proper files?
Thanks for your help!
prateekandroid said:
Thank you for a prompt reply. The website you suggested is very helpful and I think Mangal or Arial Unicode MS are the best bet. It took me a while to find these fonts, sorry for a little late response.
Unfortunately, I could only find Mangal.ttf (201 KB) & ArialUni.ttf (22 MB) but not their respective "-Bold.ttf" fonts as you mentioned.
I can use Mangal.ttf in MS Office 2007 to write in Sanskrit/Hindi and it lets me format the text (bold, italics, resize, etc.).
Would it be enough to push this one font? Since Mangal-Bold.ttf is not available specifically.
Also, does pushing a font to ADB means that it overwrites the new font over the existing font in Android? Since we'll be renaming new font to already existing DroidSans.ttf. Or does it merge the two fonts?
I have attached Mangal.ttf (in a zip) to this post since that has a smaller size (201 KB) than ArialUni.ttf (22 MB). Would really appreciate if you could please create an Update.zip with proper files?
Thanks for your help!
Click to expand...
Click to collapse
It's fine that you only found the regular font without it's bold counterpart. What can be done is that we'll use Mangal.ttf twice and rename it Droid-Sans.ttf as well as Droid-Sans-Bold.ttf. The system will accept it, though if you can find a font with both the regular and bold files, that would be nice.
Also, when you adb push the new renamed fonts into the /system/font folder -- they will indeed overwrite the previous fonts that were there. They will NOT be merged.
In anycase, I've created an update.zip file for you to flash. Tell me what happens.
pseudoremora said:
It's fine that you only found the regular font without it's bold counterpart. What can be done is that we'll use Mangal.ttf twice and rename it Droid-Sans.ttf as well as Droid-Sans-Bold.ttf. The system will accept it, though if you can find a font with both the regular and bold files, that would be nice.
Also, when you adb push the new renamed fonts into the /system/font folder -- they will indeed overwrite the previous fonts that were there. They will NOT be merged.
In anycase, I've created an update.zip file for you to flash. Tell me what happens.
Click to expand...
Click to collapse
Thank you for the file pseudoremora. Really appreciate it.
So if these new fonts will overwrite the previous fonts, I hope I don't loose my current stock fonts & style. Just for knowledge purposes; Did you manually merge "Mangal" font into stock fonts?
As far as I know, I would need to root my phone for flashing this file. I have never done it before. But I found steps for it on Unlockr (don't know if I can mention other websites on this forum). I am mentioning the steps below for other people's references, assuming these haven't changed:
Code:
1. Download the following file and then unzip it.
AsRoot2
2. Take the unzipped file and save it into the Tools folder of your AndroidSDK.
3. Plug your phone in via USB and do NOT mount the SD card.
4. Open the Command Prompt and type the following (hitting enter at the end of every line):
cd\
cd AndroidSDK\Tools\
adb devices
And make sure your phone’s serial number pops up (if not setup ADB & USB drivers).
5. Then type:
adb push asroot2 /data/local/
adb shell chmod 0755 /data/local/asroot2
adb shell
/data/local/asroot2 /system/bin/sh
6. Then type:
mount -o remount,rw -t yaffs2 /dev/block/mtdblock3 /system
cd /system/bin
cat sh > su
chmod 4775 su
Although, I don't know how to unroot the phone after rooting it.
pseudoremora, I have been searching for steps on how to flash a file like "Mangal_font-signed.zip". But since "flash" is such a term that most search results are for Adobe Flash. Do you know any place with step by step instructions to do it for Sprint HTC Hero?
Also, if these fonts don't work. How do I go back to stock condition? Do I need to take some backup?
Thanks for your help.
prateekandroid said:
Thank you for the file pseudoremora. Really appreciate it.
So if these new fonts will overwrite the previous fonts, I hope I don't loose my current stock fonts & style. Just for knowledge purposes; Did you manually merge "Mangal" font into stock fonts?
Click to expand...
Click to collapse
You should have rooted first before thinking about anything else, but that's alright. Also, I did NOT "merge" the fonts... you can't do that. I overwrote the previous font with the Mangal one. Even if you flash a new font, getting the stock font back on is just as easy as adding a different one.
prateekandroid said:
pseudoremora, I have been searching for steps on how to flash a file like "Mangal_font-signed.zip". But since "flash" is such a term that most search results are for Adobe Flash. Do you know any place with step by step instructions to do it for Sprint HTC Hero?
Thanks for your help.
Click to expand...
Click to collapse
Before we go any further, its imperative that you root your phone and understand the in's and out's of flashing, using command prompt, and the installing recovery image. Also, you do own a CDMA Hero, for the Sprint network, correct?
All of the information you are trying to find can be found right HERE on XDA. The link will provide step-by-step guides that will walk you through everything you are trying to learn. I would advise reading them, following the steps the best you can, and then asking questions when you get stuck.
I can give the answers, however... with anything new, it's always best to let ones own curiosity invoke the learning process. Myself and others here are more than knowledgeable to help you any way, but even a beginner is capable of rooting there own phone.
prateekandroid said:
Also, if these fonts don't work. How do I go back to stock condition? Do I need to take some backup?
Click to expand...
Click to collapse
Upon rooting your phone and installing a recovery image, you will have the option to backup your phone and ALL its data. Secondly, if for some reason, you do in fact mess up and get to a point where you would like to start from the beginning (Go back to Stock), there is also an application for that.
So, for the time being -- don't worry about backing up your phone or even going back to stock, you need to focus on rooting your phone, installing a recovery image, making your first Nandroid backup, and then hopefully installing your first user created ROM.
As always, I'm here to help. Oh, one more thing... before you ask me, try to search the CDMA Hero threads, you'll more than likely find your answer. Otherwise, you can ask.
pseudoremora said:
You should have rooted first before thinking about anything else, but that's alright. Also, I did NOT "merge" the fonts... you can't do that. I overwrote the previous font with the Mangal one. Even if you flash a new font, getting the stock font back on is just as easy as adding a different one.
Before we go any further, its imperative that you root your phone and understand the in's and out's of flashing, using command prompt, and the installing recovery image. Also, you do own a CDMA Hero, for the Sprint network, correct?
So, for the time being -- don't worry about backing up your phone or even going back to stock, you need to focus on rooting your phone, installing a recovery image, making your first Nandroid backup, and then hopefully installing your first user created ROM.
As always, I'm here to help. Oh, one more thing... before you ask me, try to search the CDMA Hero threads, you'll more than likely find your answer. Otherwise, you can ask.
Click to expand...
Click to collapse
Thanks pseudoremora. Will do.
In case of an issue, I may have to bug you again.
PS: Yes, I do have CDMA Sprint HTC Hero with Google written on its back cover
prateekandroid said:
Thanks pseudoremora. Will do.
In case of an issue, I may have to bug you again.
PS: Yes, I do have CDMA Sprint HTC Hero with Google written on its back cover
Click to expand...
Click to collapse
Hope my last post didn't come as asshole-ish. That wasn't my intention. I'm just trying to get you in the mindset to always think about searching for the answer(s), before I step in and give them to you.
Also, you're not bugging me at all, I'm more than happy to help.
Good luck!
pseudoremora said:
Hope my last post didn't come as asshole-ish. That wasn't my intention. I'm just trying to get you in the mindset to always think about searching for the answer(s), before I step in and give them to you.
Also, you're not bugging me at all, I'm more than happy to help.
Good luck!
Click to expand...
Click to collapse
Na dude. You're fine.
So I am now rooted, recovered (v1.6.2), nandroid backed up (stock v1.5) & running DC v2.07.2. I flashed Mangal.zip. Good news is that I can now read Devnagri on Dolphin bowser. Glyphs are messed up. So instead of शिवाय it is showing शविाय. But its Ok, at least its readable. Better than ☐☐☐☐☐.
However, the bad news is that English characters are all bigger & spacier than normal. It looks so weird. Will attach a screenshot tomorrow.
prateekandroid said:
Na dude. You're fine.
So I am now rooted, recovered (v1.6.2), nandroid backed up (stock v1.5) & running DC v2.07.2. I flashed Mangal.zip. Good news is that I can now read Devnagri on Dolphin bowser. Glyphs are messed up. So instead of शिवाय it is showing शविाय. But its Ok, at least its readable. Better than ☐☐☐☐☐.
However, the bad news is that English characters are all bigger & spacier than normal. It looks so weird. Will attach a screenshot tomorrow.
Click to expand...
Click to collapse
Excellent! Seriously, that's amazing that you were able to accomplish everything I stated without having me helping you (not that I wouldn't have), but I'm sure you know that you get a great feeling once you accomplish each one of those things (I know I did when I first did it).
Again, great job!
pseudoremora said:
Excellent! Seriously, that's amazing that you were able to accomplish everything I stated without having me helping you (not that I wouldn't have), but I'm sure you know that you get a great feeling once you accomplish each one of those things (I know I did when I first did it).
Again, great job!
Click to expand...
Click to collapse
Dude, I am sorry for being MIA. I have been trying for a few days the merged font that I created using FontLab but it makes English characters so bloated that two lines start overlapping each other. For eg. if you are looking at a specific contact in people App, "Call mobile" text overlaps the cell number right below it.
Wats weird is that FontLab doesn't bloat Devnagri characters but only English characters. I dont know FontLab very well so dont know how to stop it from scaling.
I had to revert to stock font. S**ks!
Do you have any suggestion of some way to merge Stock font with Mangal font?
prateekandroid said:
Dude, I am sorry for being MIA. I have been trying for a few days the merged font that I created using FontLab but it makes English characters so bloated that two lines start overlapping each other. For eg. if you are looking at a specific contact in people App, "Call mobile" text overlaps the cell number right below it.
Wats weird is that FontLab doesn't bloat Devnagri characters but only English characters. I dont know FontLab very well so dont know how to stop it from scaling.
I had to revert to stock font. S**ks!
Do you have any suggestion of some way to merge Stock font with Mangal font?
Click to expand...
Click to collapse
I've never had to merge any fonts; but then again I've only had to read English.
I've never worked with Fontlab, so I'm not sure where to even begin. The reason however I think you keep having problems is because maybe the phone isn't understanding how to handle the merged font... so the Devnagri characters are okay, but the English ones aren't scaled correctly because they were merged or merged incorrectly? Again, I don't know, those are just my ideas.
I hate to say it... but it looks like you're either have to bare with it, choose one font or the other, or what I would do is contact HTC and see if they have native font or any font that they could recommend. I'm all out of ideas, so I don't know what to tell you. Sorry.
Try this
http://forum.xda-developers.com/showthread.php?t=798380
Replace only Fallback font. Do not touch DroidSans.ttf
Hope it helps
But there are issues in having hindi support in this way.
There is Samsung Galaxy phones with perfect hindi support in 2.1 and 2.2 versions of Android. Is there any way to get the Language pack or Hindi IMI from them. And have heard Android 2.3 has bulit-in Hindi language support. But I don't know how to install it.
Opera mini can read hindi font
Opera mini can read hindi font
click here
pseudoremora said:
The problem is obviously with the font and Android being unable to recognize it -- which leaves me to believe that the fonts you're trying to use are UNI-CODE and actually should be TTF (True Type Face). However, I would try different variants of the font you're looking for. I did some searching and this is what I've found (below). I don't know what characters I'm supposed to look for, but the site I found seemed somewhat helpful and apparently they might have the fonts you're looking for. If so, you need to push the font files you find to your /system/fonts/ folder of your phone -- but HAVE to rename the the font files. One needs to be called DroidSans and the other DroidSans-Bold -- Case sensitive for both.
If you'd like -- I can make an update.zip file for you instead. All you would need to do however it tell me which font you are considering and either upload the font here or give me a link where I can download and package it. Hope that helps.
Just remember that IF and when you find the font file you need, that it has an .ttf extension -- which is where I think your problem is.
Click to expand...
Click to collapse
Problem is most of the world has now moved to the unicode fornts from google transliteration which has become defacto standard due to ease of use. If that helps. Any help would really be very useful.
first of all much thanks for all the awesome work.im a super nube,i didnt even anything like this forum existed until a couple of weeks ago.im trying to install the fix for changing the color of ALL the text in cookies home tab.the fix said to extract the manilla file to \windows(overwrite existing file) and restart sence.i get to the part where i have extracted the manila file but i dont know what to do next.i cant find a \windows option.i appreciate any input and sorry if my nubeness is causing me to miss something obvious.i have a new tmobile hd2.
use a file explorer to copy the file into the \Windows folder.
thanks for the input mastajest but i still cant figure it out.the extracted file is in my documents i long click it and my options are-send via bluetooth,cut,copy ,rename,delete,and send-i choose copy and it goes back to my documents.i back out of my documents and long click windows folder and i get the same options when i long click the extracted file.im not sure what to do next.
joe broney said:
thanks for the input mastajest but i still cant figure it out.the extracted file is in my documents i long click it and my options are-send via bluetooth,cut,copy ,rename,delete,and send-i choose copy and it goes back to my documents.i back out of my documents and long click windows folder and i get the same options when i long click the extracted file.im not sure what to do next.
Click to expand...
Click to collapse
When you're looking in the folder you want it to end up in, hit the menu button in the bottom right, then "edit", then "paste"
thanks sirphunkee i got it in the windows folder but it didnt fix the tex color issue im gonna go back to the fix post and read it carefully to make sure i did everything right.thanks again.
i read the fix instructions again and i think im suposed to actually find the specific file and replace it with the fix file but since i have no idea what that file is i think im stuck.thanks again for the awesome forums and all the help.
joe broney said:
i read the fix instructions again and i think im suposed to actually find the specific file and replace it with the fix file but since i have no idea what that file is i think im stuck.thanks again for the awesome forums and all the help.
Click to expand...
Click to collapse
joe, can you point me to the thread you're talking about? I'll go check it out and see if I can get you through the steps.
its in the 1st post of the cookies home tab thread you scroll down and there is a part that says known issues and its the fix correcting the text color issue(when you change the text color but not all the text color on the home screen changes to the color you want).i wish i knew how to post a link so you dont have to waste your time searching.im pretty new to all this but learning.i think if i knew the specific file in the windows folder that im suposed to replace with the fix file it would work but there is like a kabillion files in the folder.much thanks for all your help.
joe broney said:
its in the 1st post of the cookies home tab thread you scroll down and there is a part that says known issues and its the fix correcting the text color issue(when you change the text color but not all the text color on the home screen changes to the color you want).i wish i knew how to post a link so you dont have to waste your time searching.im pretty new to all this but learning.i think if i knew the specific file in the windows folder that im suposed to replace with the fix file it would work but there is like a kabillion files in the folder.much thanks for all your help.
Click to expand...
Click to collapse
Ok, it's simpler than you think lol. That file (5DED22E8_manila) inside the zip you downloaded just needs to be copied to the windows folder...if you do that correctly, you should get a prompt asking if you want to overwrite an existing file, click yes, and then soft-reset.
awesome!that did it.it didnt work at first but that was because i renamed the file to something more recognizable.i deleted it and copy the original file without renaming it and it worked just like you said.thanks for all the help.
joe broney said:
awesome!that did it.it didnt work at first but that was because i renamed the file to something more recognizable.i deleted it and copy the original file without renaming it and it worked just like you said.thanks for all the help.
Click to expand...
Click to collapse
No problem, glad it worked!
I should (have) give you fair warning too...be very careful when tinkering with your manila files like this, they're the crucial elements of your Sense interface. I would strongly recommend you make a backup copy of every "manila_" file in your \windows directory, it could save you a hard reset someday if any of them get corrupted along the way
Hey guys,
I was wondering if you guys have the fonts from the stock Samsung ROM? Particularly the "Samsung Sans".
Cheers!
hidea said:
Hey guys,
I was wondering if you guys have the fonts from the stock Samsung ROM? Particularly the "Samsung Sans".
Cheers!
Click to expand...
Click to collapse
Are these what you need (attached)? I used Titanium Backup to rip them out as backups and extracted the apks from the backups. They "should" still work...
Aou said:
Are these what you need (attached)? I used Titanium Backup to rip them out as backups and extracted the apks from the backups. They "should" still work...
Click to expand...
Click to collapse
oh thank you!! They are indeed the right font(s)!
Samsung Sans is drop dead pretty. Far prettier than Roboto. Cheers!
EDIT:
By the way, how did you extract them with TiBackup? Would love to learn, in case in the future I need to do further extracting!
hidea said:
oh thank you!! They are indeed the right font(s)!
Samsung Sans is drop dead pretty. Far prettier than Roboto. Cheers!
EDIT:
By the way, how did you extract them with TiBackup? Would love to learn, in case in the future I need to do further extracting!
Click to expand...
Click to collapse
You're welcome.
It's probably easier to just run some shell commands to copy the apk's out to the SDcard, but this is what I did with TiBu:
Searched for "font" to narrow it down to just these 5 items
Batch backed them up as usual
Connected phone to PC and browsed the phone for the TitaniumBackup folder.
Inside, you'll see three files associated with each app - the one we want is the .apk.gz
Extracted the contents of the file - it contains only an apk with a really long filename
Grabbed the "real" name of the .apk from TiBu by touching the app name in the list, and then touching the name of it highlighted in yellow. This gives the apk name among other info.
Rename the really-long-named apk that was extracted with the name obtained in the previous step.
Can somebody give me the font Samsung Sans in ttf format (not apk)? I cannot find it in the web.
asbozh said:
Can somebody give me the font Samsung Sans in ttf format (not apk)? I cannot find it in the web.
Click to expand...
Click to collapse
I know this wan an old post but for anyone wanting to know how to get them in ttf format in the future just extract them from the apk files using 7-Zip
Can i have The stock folder s4 samsungSans?
Does anybody have the default font of samsung? (They called it droidsans) i'm using a zenfone btw.
..
I looked through the apk and didn't see this image anywhere. I think they're downloaded remotely, so not built into the apk.
..
JJ-KwiK said:
I'm thinking the same thing. I also went through the apk and didn't find anything. I haven't had any luck searching in the internal file system, but if it's downloaded remotely, I would expected to find it somewhere. Hmmm...
Anywho, thanks for taking the time to look. I hope I can find it.
Click to expand...
Click to collapse
It's probably stored in cache, which I don't know how to look through. Good luck!
You can find it in the Nvidia Customization.apk
..
Hi,
I found it to in NVcustomise, I can extract but impossible overwrite an other background , did someone know the way how to do.
Best regards
michelmo said:
Hi,
I found it to in NVcustomise, I can extract but impossible overwrite an other background , did someone know the way how to do.
Best regards
Click to expand...
Click to collapse
Can you upload it somewhere?
Give your mail, I will send you
Regards.
Thanks for sending me the file.
Actually, changing the file is easy, but I'm not sure how we can replace the system NvCustomize.apk after changing it. even if we sign it, it has to be with the original sign key, which I dont believe we have.
Anyone been doing this before?
Edit:
Actually, I did it with XPosed and a custom module that I wrote. Unfortunatelly, it doesn't want to usa a resource from the sdcard/internal storage, it has to be hardcoded in the app. Ill continue to look for a solution.
Please post the image of the last shield poly wallpaper