DroidForums.net is the original Verizon Android Forum! Registered Users do not see these ads. Please Register - It's Free!
Page 1 of 8 123 ... LastLast
Results 1 to 10 of 79

Thread: [How to] Install custom font on your rooted Droid

  1. Droid
    ei8htohms's Avatar
    Member #
    1781
    Join Date
    Nov 2009
    Location
    NYC
    Posts
    39
    Phone
    Moto Droid
    #1

    [How to] Install custom font on your rooted Droid

    Standard disclaimer: Hack your phone at your own risk, always.

    Now that we have su on the Droid, the first thing I wanted to do was change the font. The standard font is fine (exceptional really in the grand scheme of things), but I spent an inordinate amount of time creating a custom font based on the original Android logo that I used forever on my G1 and I wanted to put it on my Droid, so...

    1. Your phone must be rooted.
    2. You have to have ADB functioning OR a recovery image with Nandroid back-up/restore from the recovery menu (SirPsychoS 0.11.0 and above I believe).

    You can change the default font in Android by replacing it with any compatible TrueType font (.ttf). Just find the font you like and rename it to DroidSans.ttf AND DroidSans-Bold.ttf and then put them into /system/fonts in place of the default files located there. There are a ton of Android compatible fonts located in this thread on xda:

    G1 FONTS! Post them here!!!!

    If you want the font to display bold characters properly, you really need to find a font that also has a bold version and replace the normal and bold DroidSans files accordingly, but if you just make two copies of a single .ttf file and rename them DroidSans.ttf and DroidSans-Bold.ttf it will still work fine, just without some of the bold formatting.

    So after you selected the font you want, renamed it to DroidSans.ttf and DroidSans-Bold.ttf, create a folder on your SD card called "new_font" (or whatever) and paste both files there. Then create another folder called "orig_font" (or whatever) so you can have some place to put the original .ttf files so you can restore them later. You can just rename them in /system/fonts to DroidSans.bak or similar if you choose, I prefer to store them on the SD card.

    From an ADB shell (Warning: Do not copy and paste these lines of code, the "[or whatever]" comments are meant to be indicate that my folder names (orig_font and new_font) can be replaced by the folder names of your choice.):
    Code:
    su
    mount -o remount /dev/block/mtdblock4 /system
    mount -o remount /dev/block/mmcblk0 /sdcard
    cat /system/fonts/DroidSans.ttf > /sdcard/orig_font[or whatever]/DroidSans.ttf
    cat /system/fonts/DroidSans-Bold.ttf > /sdcard/orig_font[or whatever]/DroidSans-Bold.ttf
    cat /sdcard/new_font[or whatever]/DroidSans.ttf > /system/fonts/DroidSans.ttf
    cat /sdcard/new_font[or whatever]/DroidSans-Bold.ttf > /system/fonts/DroidSans-Bold.ttf
    mount -o ro,remount /dev/block/mtdblock4 /system
    sync
    reboot
    From Terminal:
    Code:
    su
    mount -o remount /dev/block/mtdblock4 /system
    cat /system/fonts/DroidSans.ttf > /sdcard/orig_font [or whatever]/DroidSans.ttf
    cat /system/fonts/DroidSans-Bold.ttf > /sdcard/orig_font [or whatever]/DroidSans-Bold.ttf
    cat /sdcard/new_font [or whatever]/DroidSans.ttf > /system/fonts/DroidSans.ttf
    cat /sdcard/new_font [or whatever]/DroidSans-Bold.ttf > /system/fonts/DroidSans-Bold.ttf
    mount -o ro,remount /dev/block/mtdblock4 /system
    sync
    reboot
    Only change the font AFTER creating a Nandroid back-up, especially if you doing so from Terminal. You will absolutely have to restore the back-up or adb in to restore the original font if you accidentally delete it or replace it with something incompatible.


    ***********************************


    The DroidLogo font is scaled pretty well for the Android OS and displays nicely on both the G1 and the Droid (at least) and has a proper normal and bold version, so will properly display bold text on the phone. Most folks will probably find it not completely utilitarian (not quite as easy to read), but I'm completely used to it and don't feel like I'm looking at Android without it at this point.

    Feel free to use it on your phone if you'd like and any devs that want to use it in an application or website can feel free as well, just give me a credit of some sort please.

    Here's what the DroidLogo font looks like:




    Enjoy!
    Attached Files
    Last edited by ei8htohms; 03-12-2011 at 11:25 AM. Reason: Changed font sample pic
  2. Senior Droid
    Manigma77's Avatar
    Member #
    2985
    Join Date
    Nov 2009
    Posts
    239
    Phone
    Enter Current Phone Here
    #2
    This is a Great and Informative thread, Now that I have the new font, what i'd really like to know is how to change the color of the font in the taskbar.

    Thanx for posting this
  3. Droid
    ei8htohms's Avatar
    Member #
    1781
    Join Date
    Nov 2009
    Location
    NYC
    Posts
    39
    Phone
    Moto Droid
    #3
    Quote Originally Posted by Manigma77 View Post
    ...what i'd really like to know is how to change the color of the font in the taskbar.
    I think you'd have to do that by making changes in framework-res.apk, but I don't have the foggiest idea about how to go about that. Ask around though, some folks have changed it already (you'll notice from my screenshot I'm using the one with the black bar and translucent window shade).
  4. Droid
    mazz0310's Avatar
    Member #
    612
    Join Date
    Nov 2009
    Posts
    85
    Phone
    Enter Current Phone Here
    #4
    Awesome, I may just have to try this.
  5. Senior Droid
    Manigma77's Avatar
    Member #
    2985
    Join Date
    Nov 2009
    Posts
    239
    Phone
    Enter Current Phone Here
    #5
    I didn't like the bold font, it was too hard to read, so I installed the regular font in both places. (of course i renamed the regular font to bold and put in a seperate folder first)

    Now, i think it looks awesome
  6. Droid
    mazz0310's Avatar
    Member #
    612
    Join Date
    Nov 2009
    Posts
    85
    Phone
    Enter Current Phone Here
    #6
    Quote Originally Posted by Manigma77 View Post
    I didn't like the bold font, it was too hard to read, so I installed the regular font in both places. (of course i renamed the regular font to bold and put in a seperate folder first)

    Now, i think it looks awesome
    Mind posting a screenshot?
  7. Master Droid
    kevdog's Avatar
    Member #
    4295
    Join Date
    Nov 2009
    Posts
    722
    Phone
    moto droid
    #7
    I tend to agree with not preferring the bold Droid font. The regular font does take some getting used to. Here is a screen cap with the normal font acting as both the normal and bold variants:
    Attached Thumbnails Attached Thumbnails [How to] Install custom font on your rooted Droid-cap200912131537.jpg  
  8. Senior Droid
    Breezer23's Avatar
    Member #
    3764
    Join Date
    Nov 2009
    Location
    Salt Lake City, Utah
    Posts
    158
    Phone
    Motorola Droid
    #8
    Will any of the fonts from 1001 Fonts .com work or are there specific guidelines for acceptible fonts?
  9. Droid
    ei8htohms's Avatar
    Member #
    1781
    Join Date
    Nov 2009
    Location
    NYC
    Posts
    39
    Phone
    Moto Droid
    #9

    most truetype fonts will work, at least marginally

    Quote Originally Posted by Breezer23 View Post
    Will any of the fonts from 1001 Fonts .com work or are there specific guidelines for acceptible fonts?
    There are size and scaling issues with some fonts, but I don't know anyway to know ahead of time if they'll work on the phone. Just try them out and see. Load my font first (since we know it works) and remove them so you're sure you understand the process (WITH ADB), then try some others.

    Check out the G1 fonts thread on xda too. There are tons of fonts attached and / or linked from that thread.
  10. Senior Droid
    Manigma77's Avatar
    Member #
    2985
    Join Date
    Nov 2009
    Posts
    239
    Phone
    Enter Current Phone Here
    #10
    Screenshot of regular fonts
    Attached Thumbnails Attached Thumbnails [How to] Install custom font on your rooted Droid-cap200912131804.jpg   [How to] Install custom font on your rooted Droid-cap200912131800.jpg  
Page 1 of 8 123 ... LastLast

Links

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  

Similar Threads

  1. Droid Font
    By P3Droid in forum Motorola Droid
    Replies: 20
    Last Post: 01-05-2011, 01:36 AM
  2. Getting good deal as alltel customer.
    By nikolaus in forum HTC Droid Eris
    Replies: 8
    Last Post: 02-03-2010, 01:26 PM
  3. Cant install droid on Computer
    By Ryan in forum New Member Introductions & Site Assistance
    Replies: 8
    Last Post: 11-07-2009, 03:58 AM
  4. For existing VZW customer eligible for an upgrade...
    By OCJP in forum Android General Discussions
    Replies: 0
    Last Post: 11-06-2009, 02:02 PM
  5. Loyal VZW customer in the ATL
    By joegrind in forum New Member Introductions & Site Assistance
    Replies: 6
    Last Post: 10-31-2009, 07:32 PM

Search tags for this page

.ttf fonts for android
,
android add system font
,

droid logo font

,
free fonts for rooted android
,
how to install font on rooted android
,

how to install fonts on rooted android

,
howtoinstallcustomttf
,
install ttf font on android
,
install ttf fonts on rooted android
,
install ttf on android
Click on a term to search our site for related topics.
Find us on Google+