What would be the easiest way to download and change the font systemwide?
Here is a way to do it in the terminal.
First backup the fonts that you have on your phone. This will dump them in your SDK tools directory.
adb pull /system/fonts
Put those fonts in a different directory to keep them safe. Decide what font you would like to replace and what fonts they will replace on the phone. Rename those fonts with the same file name as the ones that you pulled from the phone. So, if you wanted to replace Droidsans with Helvetica, you would rename helvetica.ttf to Droidsans.ttf. Once you have renamed them, put them in your tools directory.
Then push them back to the phone:
adb remount
adb push DroidSans.ttf /system/fonts
Reboot the phone. Now the new fonts should be working.
Also, if you put all of your websafe fonts on your phone (verdana, georgia, etc), your browser should actually start using them on the websites that you view. I am not completely sure about the stock browser, but I know that it worked in Opera.
looking for fonts online i found some but i pushed one and i couldnt read it at all does anyone know what the default font size is to preview before i push it to the phone?
Related
Make Sure You Have A Nandroid Backup
Here are a few Apk's I modified the icons on. I will be changing and modifying more when I have a chance. Enjoy. Just use ADB to push them to the /system/app directory on your phone or use Root Explorer on your phone to move them to the same directory.
Okay Guy's i want to change the Color of the Lockscreen Look of this sliding Tabs. In default it is green and i want to put it in a more like cyan color. Is there any Tutorial? Or could someone tell me which files i must edit and where the files are located?
Greets
I want that too but without widgetlocker or another program.
How can i edit framework-res.apk?
I've copied the frameworkres apk via root explorer to my sdcard, put it on my pc, and unpacked it via APK Manager, i see the icons now, i can edit the png's right? How do i get the frameworkres apk back and working?
Widget locker never worked on my optimus. :/
k i've managed it by my own, it's working now.
It's really easy, copy the /system/framework/framework-res.apk via root explorer to your sd, and get it on your pc.
On your PC rename it: framework-res.apk.zip and open it, unextract the folder you want, and edit the png's you need with photoshop or stuff like that, then back in the zip, rename it back, back to the phone with it, rename the old file in system and put the new one in it. Finished.
underdog2k9 said:
k i've managed it by my own, it's working now.
It's really easy, copy the /system/framework/framework-res.apk via root explorer to your sd, and get it on your pc.
On your PC rename it: framework-res.apk.zip and open it, unextract the folder you want, and edit the png's you need with photoshop or stuff like that, then back in the zip, rename it back, back to the phone with it, rename the old file in system and put the new one in it. Finished.
Click to expand...
Click to collapse
Or you can do it with apk manager.But that's also a good way to do it.
Okay, maybe I'm retarded, I've dug through the suspected files and searched all over the internet.
Where does android specify the system fonts?
I would prefer to change it the right way, rather than just renaming files.
Is that possible?
Thanks
D
Weird no-one has replied to this.
In the android source code, navigate to this directory:
android/system/frameworks/base/data/fonts
Once there, copy paste any fonts into the folder (I usually just rename it to DroidSans.ttf and DroidSans-Bold.ttf so that the system picks it up without much configuration),
If you aren't going to rename or you want to add extra fonts, this needs to be specified in the Android.mk file in the same directory so it gets added and utilized by the system correctly.
Hope I helped and Happy ROM-ing
What about leaving the font name as it is? The system won't recognize it as a font even with the ttf type?
Sent from my HTC Desire HD using XDA App
There are 4 selectable Fonts on my SGP5, and an option to downlaod additional ones. I can't seem to find the font folder that these fonts are located (don't appear to be in System/Fonts folder). Is there a way to add fonts (into whatever folder the optional fonts are), without rooting?
You can get apk fonts then manually install them. After installation, the fonts would appear as part of the choices. No root needed
Sent from my YP-G70
tcat007 said:
There are 4 selectable Fonts on my SGP5, and an option to downlaod additional ones. I can't seem to find the font folder that these fonts are located (don't appear to be in System/Fonts folder). Is there a way to add fonts (into whatever folder the optional fonts are), without rooting?
Click to expand...
Click to collapse
Hi,
When I search using Root Explorer on my SGP5, I see a bunch of .ttf files (truetype font files).
Jim
Where? (other than System/fonts)? Looking for that choco cookie one, I figure if that's not in a system folder, I could just drag ttf fonts there. I'll look for an apk to install them.
jimcpl said:
Hi,
When I search using Root Explorer on my SGP5, I see a bunch of .ttf files (truetype font files).
Jim
Click to expand...
Click to collapse
If you have a rooted device, you can use the "Font Installer" app.
https://market.android.com/details?id=com.jrummy.font.installer
It has a HUGE number of fonts for you to choose from.
tcat007 said:
Where? (other than System/fonts)? Looking for that choco cookie one, I figure if that's not in a system folder, I could just drag ttf fonts there. I'll look for an apk to install them.
Click to expand...
Click to collapse
Hi,
Sorry. I forgot to mention the directory. Yes, they're in /system/fonts (lower-case 's' on 'system') on my SGP5.
BTW, I think that you can't just drop the .ttf files into the directory. I think (not sure) that there's also some kind of associated XML file somewhere that is needed (again, not 100% sure).
Jim
I didn't see the same fonts in that folder that are in setting options. I agree you can't drag fonts into that folder unless you are rooted. I just find it odd there is an option to download custom fonts from the market "get fonts online" that will install, and not be able to just drag tt fonts into some folder. I have font changer on my rooted Optimus that work great, just haven't rooted my SGP yet. So far no real reason.
For example, Simple Text icon apps tell me to place custom fonts in that app's /font folder. But I don't see anywhere to obtain ttf files for android, just websites that tell me to install apk files. where do I get ttf's?
edit: nvm, I didn't know I could use regular windows ttf's on an android phone