Non-English language support - Hero CDMA General

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.

Related

Can we edit fonts with our current root capabilities ?

Posted this earlier in themes.
Can we adb push to /system/fonts ?
I think we have to be booted in recovery for this to work ?
Correct me if I am wrong.
Thank you.
pman219 said:
Posted this earlier in themes.
Can we adb push to /system/fonts ?
I think we have to be booted in recovery for this to work ?
Correct me if I am wrong.
Thank you.
Click to expand...
Click to collapse
I've done this using the app Typefresh. It has a thread in the Android software forum here at xda somewhere.
With root, you can replace the fonts, yes.. backup your old ones just in case!
.mak said:
With root, you can replace the fonts, yes.. backup your old ones just in case!
Click to expand...
Click to collapse
I attempted this yesterday.
Mind giving a quick walkthrough ?
I basically did:
su
adb push "c:\fonts" /system/fonts
No joy- Got back adb can not be found ??
TYIA
The way I got this done is with Typefresh. There is a thread about this in here: Android Development and Hacking>Android Apps and Games>[APP]Type Fresh - change your fonts!
(Sorry, I can't post links yet. If someone else wants to repost it as a link, help yourselves.)
What I did was download a font (a Harry Potter font is not installed from the factory--heehee) and adb push it to /sdcard/Fonts. Then I opened Typefresh and click the font you want changed, in my case it was DroidSans.ttf, and it allows you to choose the font you want to change it to. I will note here that apparently some fonts do not work well and may result in a brick. DO NOT DO THIS IF YOU ARE NOT COMFORTABLE DOING IT, YOU MAY BRICK YOUR DEVICE. Luckily, there is a fix for that now.
Anyway, thanks to openback for the app.
I forgot to mention that you also need to dl andexplorer to use this app. I personally did not have a root explorer hitherto so that was fine for me.
Now my question is, how can i change the font for the homescreen, or launcher pro in my case, but leave the browser's font stock?

REQUESTING HELP Editing and creating NEW flipfont APKs

I have been working on this issue for most of the day over in the Vibrant forums.
I am posting here in hopes of getting someone who knows more about apk editing and fonts then I do to help out.
Link to the post on the XDA Vibrant forum here
Please post your response there. Once the issue is solved I will repost a walk-through on all Galaxy S forums.
Here is the start of my thread, please read the link to see the progress.
I am aware that there are other ways to edit the fonts on our phone, by replacing renaming the default font. This is NOT what I would like to accomplish.
Since the Galaxy S is the first android phone to use Flipfont, I think we should take advantage of it. It gives us a nice preview of the font in the built in menu option and is thus superior to the other methods.
I originally purchased the Bauhaus font from the market and made a backup of it through ASTRO. After pulling the file from my phone and putting it on the computer I started editing the file with Apk Manager 4.8 found here
Steps preformed
Copied original apk into place-apk-here-for-modding folder
Run script.bat and choose option 9 ***this maybe where the issue is as I may need to choose option 10 and include the dependancy if there is one for the flipfont apk.
replace bauhaus.ttf with a .ttf font of my choosing
edit all XML, yml and smali files to include the font name or font.ttf depending on the entry in the original file *** I did not change any of the other coding so again this maybe where the problem is, as I may need to change something else to have the font act properly.
Edit the last folder name in the smali folder tree from bauhaus to the name of my font
Replace font with custom font and replace the preview image with my own
Compile apk
Sign apk
Rename apk
install apk on my phone
After putting the apk on my phone and installing the file, it shows up as expected in settings>Sound and Display>Font style. The font thumbnail shows up properly as does the font preview. The preview does show up a little larger then the other fonts and may be a sign that the font is not optimized properly or that I missed something in the XML.
After applying the font and restarting, the phone is extremely slow, freezing quite often and the font does not show up, it shows the default font instead.
If anyone that knows more about XML or apk editing/creation can help it would be great.
I have included the edited font apk if you would like to download it and run it through Apk Manager 4.8. If you want to try it with the bauhaus or one of the other fonts you will need to buy it from the market and back it up. (trying not to break any rules here.)
[EDIT][More info] Ok I took a closer look at the font that came with the Bauhaus akp
In the discription of the font it list:
OpenType Layout, Digitally Signed, TrueType Outlines
I know that opentype is a new format and that alot of the fonts for OpenType that I find are made by Monotype, the same people that make the fonts available for download. I think this may have something to do with it or maybe Im just grasping. :ºp
Any font guys out there have any info on this?
CAUTION THE FOLLOWING FILE IS NOT MEANT FOR USE AND WILL CAUSE YOUR PHONE TO RUN SLOW!!!
Download Font APK
You only can use .ttf (true type font) any other type will not work,if you have a font u want to use but is not in .ttf then you need to convert it to .ttf, btw i prefer the Type Fresh app to manage and change my fonts is easier than the method you described.
Also, make sure the font has a full latin library. I learned the hard way from the TypeFresh app (which is a way better solution IMO). In its instructions which I only read the second time, one font (i believe its called DroidSansFallback.ttf) needs to have a COMPLETE set, including latin, I believe for certain coding going on somewhere. I bricked my phone within two hours of rooting it. Took three to get it back. (Backup people!)
Anyways, now I use TypeFresh, it gives you options on which system font to replace, and I never replace that one.
Hope this helps.

Changing font to bold. Any way to add fonts?

Is there any way to change (that is, add to) the fonts in the reader itself? I've read that it's only possible to change the system font? Are there any updates on this?
Not sure if any has tried FontInstaller on the Nook or not. It's a rooted Android device, so I would think in theory at least, it would word.. Someone correct me if I am wrong please?
Yes, I can confirm that it is possible to replace the fonts on the rooted nook, that is provided that you want to keep using the stock reader. On other readers, cool reader for example, you can just install additional fonts and they would be able to use those new ones.
zecoj said:
Yes, I can confirm that it is possible to replace the fonts on the rooted nook, that is provided that you want to keep using the stock reader. On other readers, cool reader for example, you can just install additional fonts and they would be able to use those new ones.
Click to expand...
Click to collapse
Could you explain how to do it? My device is rooted. I just prefer to use the default reader because some of the newspapers are encrypted and I prefer to read it right after I download it, rather than transfer it to my computer, decrypt it, and send it back to my reader.
xdadooder said:
Could you explain how to do it?
Click to expand...
Click to collapse
From memory:
/system/fonts contains all "stock" fonts, you'll need to find out which files are of the font in the original reader
Pick a font you don't like (Malabar, for example). See in /system/fonts, these are the files of interest: Malabar.ttf, Malabar-Bold.ttf, Malabar-BoldItalic.ttf, Malabar-Italic.ttf. Back up these first.
Get a new font of your choosing (Gentium Book Basic, for example -- because I just LOVE this font), rename all the files to be exactly like Malabar's ones. Pay attention to Bold, BoldItalic, etc.
Overwrite the original files with the renamed one.
Make sure permissions are correct (644)
Reboot and choose Malabar as your preferred font in the reader.
IndyRoadie said:
Not sure if any has tried FontInstaller on the Nook or not. It's a rooted Android device, so I would think in theory at least, it would word.. Someone correct me if I am wrong please?
Click to expand...
Click to collapse
Just realized FontInstaller probably would only work on the Rooted part, not the stock Nook part, my bad..
zecoj said:
Yes, I can confirm that it is possible to replace the fonts on the rooted nook, that is provided that you want to keep using the stock reader. On other readers, cool reader for example, you can just install additional fonts and they would be able to use those new ones.
Click to expand...
Click to collapse
zecoj said:
From memory:
/system/fonts contains all "stock" fonts, you'll need to find out which files are of the font in the original reader
Pick a font you don't like (Malabar, for example). See in /system/fonts, these are the files of interest: Malabar.ttf, Malabar-Bold.ttf, Malabar-BoldItalic.ttf, Malabar-Italic.ttf. Back up these first.
Get a new font of your choosing (Gentium Book Basic, for example -- because I just LOVE this font), rename all the files to be exactly like Malabar's ones. Pay attention to Bold, BoldItalic, etc.
Overwrite the original files with the renamed one.
Make sure permissions are correct (644)
Reboot and choose Malabar as your preferred font in the reader.
Click to expand...
Click to collapse
Thanks. Will try that.
If that works, wondering if it would help with the Kindle app?
zecoj said:
From memory:
/system/fonts contains all "stock" fonts, you'll need to find out which files are of the font in the original reader
Pick a font you don't like (Malabar, for example). See in /system/fonts, these are the files of interest: Malabar.ttf, Malabar-Bold.ttf, Malabar-BoldItalic.ttf, Malabar-Italic.ttf. Back up these first.
Get a new font of your choosing (Gentium Book Basic, for example -- because I just LOVE this font), rename all the files to be exactly like Malabar's ones. Pay attention to Bold, BoldItalic, etc.
Overwrite the original files with the renamed one.
Make sure permissions are correct (644)
Reboot and choose Malabar as your preferred font in the reader.
Click to expand...
Click to collapse
I can't mount the system\fonts folder as read/write in root explorer. Any idea how to get around this? I was able to read and copy the fonts to backup before, so I don't know what's wrong
WARNING: Don't try to replace system fonts. I replaced my system fonts and now my nook is stuck in a boot loop. I think the nook is very particular about what is in the file system.
I tried to do a factory reset, and now I can't register the device because the keyboard no longer appears when I try to connect to a network to enter the password. Something is seriously wrong with the root file system.
xdadooder said:
WARNING: Don't try to replace system fonts. I replaced my system fonts and now my nook is stuck in a boot loop. I think the nook is very particular about what is in the file system.
I tried to do a factory reset, and now I can't register the device because the keyboard no longer appears when I try to connect to a network to enter the password. Something is seriously wrong with the root file system.
Click to expand...
Click to collapse
Were you trying to replace "helvetica neue" by any chance?
You can try this to format /system as well for a full stock restore: http://forum.xda-developers.com/showthread.php?t=1475613
zecoj said:
Were you trying to replace "helvetica neue" by any chance?
You can try this to format /system as well for a full stock restore: http://forum.xda-developers.com/showthread.php?t=1475613
Click to expand...
Click to collapse
No, I was trying to replace trebuchet. I did the 6 power off system restore to stock and I'm fine now.

Change Stock Arabic Font

Hello guys
As we all know, Samsung uses the FlipFont library in system fonts, which provides a new way of font customizations. But in the same time, this library does not give us the benefit of having two desired fonts together (unless we build our custom font). Samsung has also replaced the stock Android ICS Arabic font with an ugly looking font type.
Samsung uses a system Arabic font stored within "/system/fonts" folder under the name of "GS45_Arab_AndroidOS" as their stock Arabic font, which is the classical font in even older Samsung phones.
Here, I am posting this thread to those people who would like to install their custom "English FlipFont" whether from the market or internet and in the same time want a permanent good Arabic font. This procedure needs root!
1- Choose a TTF font that you would like to use as Arabic font. In this tutorial, I have used the "Adobe Arabic" font. You can find it in the attachments.
2- Rename this file into "GS45_Arab_AndroidOS.ttf".
3- Copy this font into your mobile SD Card (whether internal or external).
4- Using a root explorer on the device, navigate to the font. Copy the font.
5- Navigate now to "/system/fonts" and paste the font there.
6- Fix file permissions into "rw-r--r--".
7- Reboot your device.
8- Enjoy!
Some TTF fonts may fail. If you have an Open-Type Font (OTF), you may use an online font converter to convert it to TTF.
Screenshots are provided.
I hope I could help
tried this without succes and then i tried to include the fonts before flashing the rom that works well.
Don_Zakaria said:
tried this without succes and then i tried to include the fonts before flashing the rom that works well.
Click to expand...
Click to collapse
Have you tried the font included herein?
Some TTF fonts do not work. You should follow exactly the aforementioned steps.
What have you exactly done?
tweetatoo said:
Have you tried the font included herein?
Some TTF fonts do not work. You should follow exactly the aforementioned steps.
What have you exactly done?
Click to expand...
Click to collapse
i followed all the steps with the included font but the Original file seems to be read only so it can't be replaced. What i did is:
1. unpack the rom.zip
2. put the ttf in the fonts folder (system - fonts) -as you mentioned it has to be renamed into "GS45_Arab_AndroidOS.ttf"-
3. zipped it again.
4. flashed the rom
Don_Zakaria said:
i followed all the steps with the included font but the Original file seems to be read only so it can't be replaced. What i did is:
1. unpack the rom.zip
2. put the ttf in the fonts folder (system - fonts) -as you mentioned it has to be renamed into "GS45_Arab_AndroidOS.ttf"-
3. zipped it again.
4. flashed the rom
Click to expand...
Click to collapse
Why don't you just use Root Explorer? Just navigate to / System / fonts folder. Mount the folder as R/W and paste the file there. As simple as that!
tweetatoo said:
Why don't you just use Root Explorer? Just navigate to / System / fonts folder. Mount the folder as R/W and paste the file there. As simple as that!
Click to expand...
Click to collapse
That's an easier way that's true but had to flash a new rom anyway.
Some fonts
tweetatoo if you don't mind here are some fonts already renamed. Those are much better than the default (ugly) one.
Don_Zakaria said:
tweetatoo if you don't mind here are some fonts already renamed. Those are much better than the default (ugly) one.
Click to expand...
Click to collapse
Wonderful collection
Thank you very much
tweetatoo said:
Wonderful collection
Thank you very much
Click to expand...
Click to collapse
I have actually applied all the steps mentioned by tweetatoo to install a new font instead of the default one shipped on Samsung Galaxy Note 2. In fact I couldn't paste the new font in /fonts/ directory since it is a system file that cannot be changed. I tried to change permissions of font directory, but still in vain. Therefore, pasting the new font which has the same name of the old one, could not be completed and no replacement of the old font with the new one has taken place.
Do you have any idea how I can allow pasting the new font in /fonts/ directory?
Many thanks.
T.
terryhenderson said:
I have actually applied all the steps mentioned by tweetatoo to install a new font instead of the default one shipped on Samsung Galaxy Note 2. In fact I couldn't paste the new font in /fonts/ directory since it is a system file that cannot be changed. I tried to change permissions of font directory, but still in vain. Therefore, pasting the new font which has the same name of the old one, could not be completed and no replacement of the old font with the new one has taken place.
Do you have any idea how I can allow pasting the new font in /fonts/ directory?
Many thanks.
T.
Click to expand...
Click to collapse
Do you have root? Did you use root-mode in file explorer?
Chief_Death said:
Do you have root? Did you use root-mode in file explorer?
Click to expand...
Click to collapse
Yes of course, I use root explorer, otherwise how would I be able to get to /fonts/ directory?
It's very good ! Thanks very much !
i'll do it soon
terryhenderson said:
Yes of course, I use root explorer, otherwise how would I be able to get to /fonts/ directory?
Click to expand...
Click to collapse
Getting into a protected system folder does not need root actually. Any folder explorer can reach the topmost folder in the system. But writing to a system folder requires root permissions.
Use this root explorer: https://play.google.com/store/apps/details?id=com.speedsoftware.rootexplorer&hl=en
Google for downloadable versions
Open this program, copy the font file, then navigate to /system/fonts/ folder. After that, you will find on the top side of the screen "Mount R/W". Click on it and paste now.
After that, reboot and enjoy
Is this applicable for Samsung only?
Sent from my LG-E975 using Tapatalk 2
Hi,
I followed your steps and used the file you attached and now all the arabic shows as rectangles. Any ideas? Also, could I have the original font back for now until I sort this out, its my mums phone and shes upset lol.
tweetatoo said:
Hello guys
As we all know, Samsung uses the FlipFont library in system fonts, which provides a new way of font customizations. But in the same time, this library does not give us the benefit of having two desired fonts together (unless we build our custom font). Samsung has also replaced the stock Android ICS Arabic font with an ugly looking font type.
Samsung uses a system Arabic font stored within "/system/fonts" folder under the name of "GS45_Arab_AndroidOS" as their stock Arabic font, which is the classical font in even older Samsung phones.
Here, I am posting this thread to those people who would like to install their custom "English FlipFont" whether from the market or internet and in the same time want a permanent good Arabic font. This procedure needs root!
1- Choose a TTF font that you would like to use as Arabic font. In this tutorial, I have used the "Adobe Arabic" font. You can find it in the attachments.
2- Rename this file into "GS45_Arab_AndroidOS.ttf".
3- Copy this font into your mobile SD Card (whether internal or external).
4- Using a root explorer on the device, navigate to the font. Copy the font.
5- Navigate now to "/system/fonts" and paste the font there.
6- Reboot your device.
7- Enjoy!
Some TTF fonts may fail. If you have an Open-Type Font (OTF), you may use an online font converter to convert it to TTF.
Screenshots are provided.
I hope I could help
Click to expand...
Click to collapse
---------- Post added at 04:21 PM ---------- Previous post was at 04:18 PM ----------
Oh crap, I thought this was the s4 section. I have an international s4 gt-i9500 and I just replaced the font with the adobe arabic font. What should I do now?
3alaawi said:
Hi,
I followed your steps and used the file you attached and now all the arabic shows as rectangles. Any ideas? Also, could I have the original font back for now until I sort this out, its my mums phone and shes upset lol.
Click to expand...
Click to collapse
keikai25 said:
Is this applicable for Samsung only?
Sent from my LG-E975 using Tapatalk 2
Click to expand...
Click to collapse
This is supposed to work on your device, since it supports Arabic natively. Just locate the Arabic font used by your LG device. Personally, I am a Samsung professional, and not an LG professional. Sorry
3alaawi said:
Hi,
I followed your steps and used the file you attached and now all the arabic shows as rectangles. Any ideas? Also, could I have the original font back for now until I sort this out, its my mums phone and shes upset lol.
---------- Post added at 04:21 PM ---------- Previous post was at 04:18 PM ----------
Oh crap, I thought this was the s4 section. I have an international s4 gt-i9500 and I just replaced the font with the adobe arabic font. What should I do now?
Click to expand...
Click to collapse
After replacing the font, it is better to fix permissions back into rw-r--r-- instead of the rw-rw-rw. Then, reboot your phone
The rectangles should now appear good. In case the problem persists:
1- Try to make your phone language "English".
2- Reboot the phone.
3- Replace the font again and fix permissions.
4- Reboot again.
Arabic should now work perfectly.
Logically, even if you use Galaxy S 4, this method shall work perfectly, since the method uses a universal Android trick instead of the FlipFont library.
tweetatoo said:
This is supposed to work on your device, since it supports Arabic natively. Just locate the Arabic font used by your LG device. Personally, I am a Samsung professional, and not an LG professional. Sorry
After replacing the font, it is better to fix permissions back into rw-r--r-- instead of the rw-rw-rw. Then, reboot your phone
The rectangles should now appear good. In case the problem persists:
1- Try to make your phone language "English".
2- Reboot the phone.
3- Replace the font again and fix permissions.
4- Reboot again.
Arabic should now work perfectly.
Logically, even if you use Galaxy S 4, this method shall work perfectly, since the method uses a universal Android trick instead of the FlipFont library.
Click to expand...
Click to collapse
Hi, Will this solution work with the galaxy tab 3.8.0 ?
i followed your steps exactly. Arabic is still showing on my device but the problem is not in the font, it's in the size of the font.
is this supposed to be solved with the replacement of the font? or the size has nothing to do with the font?
Characters disconnected in the stock browser
Hi,
Thank you for the tip.
The characters appear disconnected in the stock browser Jb 4.3.
In Chrome everything is fine. Did not test other browsers.
tweetatoo said:
Hello guys
As we all know, Samsung uses the FlipFont library in system fonts, which provides a new way of font customizations. But in the same time, this library does not give us the benefit of having two desired fonts together (unless we build our custom font). Samsung has also replaced the stock Android ICS Arabic font with an ugly looking font type.
Samsung uses a system Arabic font stored within "/system/fonts" folder under the name of "GS45_Arab_AndroidOS" as their stock Arabic font, which is the classical font in even older Samsung phones.
Here, I am posting this thread to those people who would like to install their custom "English FlipFont" whether from the market or internet and in the same time want a permanent good Arabic font. This procedure needs root!
1- Choose a TTF font that you would like to use as Arabic font. In this tutorial, I have used the "Adobe Arabic" font. You can find it in the attachments.
2- Rename this file into "GS45_Arab_AndroidOS.ttf".
3- Copy this font into your mobile SD Card (whether internal or external).
4- Using a root explorer on the device, navigate to the font. Copy the font.
5- Navigate now to "/system/fonts" and paste the font there.
6- Reboot your device.
7- Enjoy!
Some TTF fonts may fail. If you have an Open-Type Font (OTF), you may use an online font converter to convert it to TTF.
Screenshots are provided.
I hope I could help
Click to expand...
Click to collapse
Thanks for this excellent job.
However, I did everything by the book on my gnote3,but I keep getting error message:
"copy action error". Can you help, please?

Non-Google Emoji in Hangouts on 4.4.2 Leak?

Hello, all...
I've asked this question in the leak thread, but it moves so fast that I don't think a lot of attention is being paid to it.
So, I'll try to make it quick. When I installed Beans's pre-rooted 4.4.2 leak ROM, I realized that the emoji being displayed in Hangouts were different - not the typical Google emoji, but more similar to the emoji that you find in Go!Messenger, Handcent, and other SMS apps that support emoji.
I suspect that Samsung has included their own emoji, and had them baked into Hangouts, but I can't seem to fix it. Even by removing hangouts and installing it from the Play Store, or restoring from Titanium Backup.
When I choose to add a smiley in a Hangout... I can see them in the list... but when I pick one, it switches to some other (samsung's?) version of it in the text box, as well as the conversation. My friends see the normal one on their end... and likewise when they send me one, it shows up as the alternative.
Is anyone else seeing this issue? I'd think that I would have seen it mentioned.
I found a thread on an HTC device that advised a user with a similar issue to rename a stock font, and I tried a similar approach, with no results.
With my DPI changed to 320, I can't even tell what emoji are being used, as this new brand is much smaller than the standard ones.
This bugs me. I want the google emoji back.
Any help? Thanks!
DrPhant0m said:
Hello, all...
I've asked this question in the leak thread, but it moves so fast that I don't think a lot of attention is being paid to it.
So, I'll try to make it quick. When I installed Beans's pre-rooted 4.4.2 leak ROM, I realized that the emoji being displayed in Hangouts were different - not the typical Google emoji, but more similar to the emoji that you find in Go!Messenger, Handcent, and other SMS apps that support emoji.
I suspect that Samsung has included their own emoji, and had them baked into Hangouts, but I can't seem to fix it. Even by removing hangouts and installing it from the Play Store, or restoring from Titanium Backup.
When I choose to add a smiley in a Hangout... I can see them in the list... but when I pick one, it switches to some other (samsung's?) version of it in the text box, as well as the conversation. My friends see the normal one on their end... and likewise when they send me one, it shows up as the alternative.
Is anyone else seeing this issue? I'd think that I would have seen it mentioned.
I found a thread on an HTC device that advised a user with a similar issue to rename a stock font, and I tried a similar approach, with no results.
With my DPI changed to 320, I can't even tell what emoji are being used, as this new brand is much smaller than the standard ones.
This bugs me. I want the google emoji back.
Any help? Thanks!
Click to expand...
Click to collapse
I would love to know how to fix this as well
bump.
I've succeeded in breaking it even worse. Through some hellish combination of renaming some fonts with "emoji" in the name in /system/fonts... and using the font installer in ROM Toolbox Pro to hack things up even worse... I now just have standard non-color (black lines on background) emoji in hangouts. ugh!
Can't someone smarter than me tell me how to fix this?
DrPhant0m said:
bump.
I've succeeded in breaking it even worse. Through some hellish combination of renaming some fonts with "emoji" in the name in /system/fonts... and using the font installer in ROM Toolbox Pro to hack things up even worse... I now just have standard non-color (black lines on background) emoji in hangouts. ugh!
Can't someone smarter than me tell me how to fix this?
Click to expand...
Click to collapse
Put the two .ttf files in your /system/fonts folder (backup originals if you want) and change permission to -rw-r--r--
Put the .xml file in your /system/etc folder (again, backup original if you want) and change permission to -rw-r--r--
Reboot phone, and hopefully everything works fine
LoneAsp said:
Put the two .ttf files in your /system/fonts folder (backup originals if you want) and change permission to -rw-r--r--
Put the .xml file in your /system/etc folder (again, backup original if you want) and change permission to -rw-r--r--
Reboot phone, and hopefully everything works fine
Click to expand...
Click to collapse
That was your first post? I'm honored to have popped your xda cherry.
I tried the switching and renaming of fonts biz... and it hasn't worked. However, the mention of this xml file is new to me.
Can you elaborate? When/where/how did you learn of this approach?
DrPhant0m said:
That was your first post? I'm honored to have popped your xda cherry.
I tried the switching and renaming of fonts biz... and it hasn't worked. However, the mention of this xml file is new to me.
Can you elaborate? When/where/how did you learn of this approach?
Click to expand...
Click to collapse
I didn't like the stock emoji on the Note 3 so I decided to change it to the stock Android one. After searching online, I found that those files were the ones you need to change. I got them from a GPE system dump. The .ttf files are the stock emoji. The .xml file basically is how the fonts are prioritized (as far as I can tell) which makes the stock emoji default before the Samsung one.
Anyway, that's how I got it to work on my phone. I'm not exactly sure how/why it worked but it did for me.
has anyone else tried this, the samsun emoji are god awful??
I just used the method outlined by LoneAsp and it worked for me.
Sent from my SM-N900V using Tapatalk
I attempted the method described by LoneAsp and it didn't work for me. Not sure if it matters, but I'm using a Galaxy Note II on the DN3 ROM.
I downloaded Emoji Switcher (root) from the Play store and it seems to have done the trick. There are some missing icons, however, and I'm not sure if the author will be updating this app to use the updated font files anytime soon.
jp.esteban said:
I attempted the method described by LoneAsp and it didn't work for me. Not sure if it matters, but I'm using a Galaxy Note II on the DN3 ROM.
I downloaded Emoji Switcher (root) from the Play store and it seems to have done the trick. There are some missing icons, however, and I'm not sure if the author will be updating this app to use the updated font files anytime soon.
Click to expand...
Click to collapse
I should have updated my OP... but I used Emoji Switcher to fix this problem, as well. I used the Samsung ones for a while... and I'm currently on the default Google ones. (The samsung ones include a few awkward-looking ones. Kind of creepy. lol) I haven't noticed any missing icons. Which ones are missing?
With my modified DPI (changed to 320 from 480)... the icons were so small that they weren't fun to use or receive... so I used an xposed module, App Settings, to change the font scale to 200%. This makes longer messages kind of a chore, but overall I'm glad the text is so much bigger. The emoji are much better, that's for sure.
Speaking of Hangouts and xposed modules... I also recommend "Stickers for Hangouts" which enables "add sticker" and "add drawing" to your attachment options in Hangouts. https://play.google.com/store/apps/details?id=com.quinny898.app.stickersforhangouts
Until now... "stickers" were only an option in the iOS version of Hangouts. Does that make sense? (answer: no)
Thanks LoneAsp!!
LoneAsp said:
Put the two .ttf files in your /system/fonts folder (backup originals if you want) and change permission to -rw-r--r--
Put the .xml file in your /system/etc folder (again, backup original if you want) and change permission to -rw-r--r--
Reboot phone, and hopefully everything works fine
Click to expand...
Click to collapse
Thanks!!!, works great for me!!, Galaxy S4 i9500

Categories

Resources