5,600,053 Members 43,004 Now Online
XDA Developers Android and Mobile Development Forum

[Tutorial]: How to change the size of a .ttf font file

Tip us?
 
d_1000
Old
(Last edited by d_1000; 14th March 2011 at 06:12 PM.) Reason: ummmm .ttf not .tty! Duh!
#1  
d_1000's Avatar
Senior Member - OP
Thanks Meter 241
Posts: 542
Join Date: Jun 2010
Location: Chicago NW 'Burbs
Default [Tutorial]: How to change the size of a .ttf font file

Ever wanted to change the base size of the system font file? I spent quite a bit of time looking into this and I found and open source program called FontForge which will modify the .ttf font file. It will run on both Win and Mac.

Here are 300+ existing flashable Font-Packs 300+ existing flashable Font-Packs which you can use and even modify the size of the .ttf file within and re-insert using 7-zip.


Font Forge Instructions:

I spent hours, trying to figure this out, but it is really rather simple...now! FontForge is very powerful and I know how to modify the font size and that is it. I am by NO MEANS an expert!

Once the the selected .ttf file is open - FontForge ALWAYS fc's on my macbook the first time I open a file. Once I relaunch, it is fine...just the nature of the beast.

1. go to: Edit>Select>SelectAll (all characters should be selected)
2. go to: Element>Tansformations>Transform
3. On the transform menu, I have chosen to increase by 20%...make sure all boxes below are checked.



4. Click ok
5. It should now render them 20% larger (or whatever you choose)
6. go to: File>Generate Fonts
make sure you change filename to keep the original clean and de-select validate - otherwise you will get about 200 warnings



7. Click ok...there will be a couple of warnings that appear, but I have not found any visible font issues or errors-you can ignore them - hat is it. When you close Font Forge, it will ask you about saving changes...if you do, it creates another file type, but I have never paid attention to it.


.

I can do everything through Him who gives me strength. Philippians 4:13 <><
The Following 18 Users Say Thank You to d_1000 For This Useful Post: [ Click to Expand ]
 
david1171
Old
(Last edited by david1171; 13th March 2011 at 09:44 PM.)
#2  
Senior Member
Thanks Meter 162
Posts: 3,202
Join Date: Apr 2009

 
DONATE TO ME
Thank you for this, been wanting to do it for a while.

Edit: Well it took forever to get everything set up to run on windows, but I finally got the Ubuntu font to not be cut off when used as Clockopia.ttf in DeskClock.apk/assets/fonts/Clockopia.ttf. I wouldn't use it for anything else other that Clockopia.ttf because I had to move the numbers -220 on the y axis after resizing them to be 20 percent smaller than normal.

The file is not to be flashed in recovery and is only in the .zip file so that I could upload it to the post.
Attached Files
File Type: zip Clockopia.zip - [Click for QR Code] (67.9 KB, 274 views)
Device: Nexus S 4G
ROM: CM7
CM7 Theme Engine: MinimalBread
App Mod: Demotivators Protips Widget
My Icon Sets: Minimalist and Minimal
Twitter: david1171_
Google Chrome Theme: Minimalist
PayPal: If you would like to donate
 
JSmurfy
Old
#3  
JSmurfy's Avatar
Senior Member
Thanks Meter 94
Posts: 1,058
Join Date: Jul 2010
Location: CT
thank you for pointing me to this.. i started making my text changes as we speak.. u rawk.. thankkk you
-- JSmurf --
Current Rom --



Kernel --




Follow Me on Twitter
 
Smokem_I
Old
#4  
Smokem_I's Avatar
Senior Member
Thanks Meter 1789
Posts: 2,390
Join Date: Nov 2010

 
DONATE TO ME
Nice tutorial bro! I'm gonna give this a shot this weekend

Sent from my BluMagic CM7 Glacier using the Blu Premium App
Check out my Theme Chooser themes and don't forget to follow me on Twitter!

Phone: HTC One
ROM: Viper 5.7.0
Theme: Stock
Kernel: Stock
HBOOT: 1.55 S-Off
Recovery: TWRP
 
trapzz
Old
#5  
Account currently disabled
Thanks Meter 3
Posts: 335
Join Date: Aug 2011
how can i export my phone's font from system/font to alter its size using fontforge? when i connect my phone to my pc, i'm only able to see files on my sd card, not the phone's entire system.
 
d_1000
Old
#6  
d_1000's Avatar
Senior Member - OP
Thanks Meter 241
Posts: 542
Join Date: Jun 2010
Location: Chicago NW 'Burbs
Quote:
Originally Posted by trapzz View Post
how can i export my phone's font from system/font to alter its size using fontforge? when i connect my phone to my pc, i'm only able to see files on my sd card, not the phone's entire system.
Even with root, I do not believe this is possible. I think you can do a backup and then pull the file from the backup.
.

I can do everything through Him who gives me strength. Philippians 4:13 <><
 
boulder96
Old
#7  
boulder96's Avatar
Senior Member
Thanks Meter 219
Posts: 372
Join Date: Mar 2011
Location: Singapore
Hi i'm new to fontforge, and I need some help installing it. When I type ./doinstall into cygwin it says 'bash: ./doinstall No such file or directory" Apparently, there is no 'doinstall' folder. Help would be appreciated thanks.
 
d_1000
Old
#8  
d_1000's Avatar
Senior Member - OP
Thanks Meter 241
Posts: 542
Join Date: Jun 2010
Location: Chicago NW 'Burbs
Quote:
Originally Posted by boulder96 View Post
Hi i'm new to fontforge, and I need some help installing it. When I type ./doinstall into cygwin it says 'bash: ./doinstall No such file or directory" Apparently, there is no 'doinstall' folder. Help would be appreciated thanks.
Unfortunately I have only run it on my Mac.
.

I can do everything through Him who gives me strength. Philippians 4:13 <><
 
Moaath
Old
(Last edited by Moaath; 28th June 2012 at 02:51 PM.)
#9  
Junior Member
Thanks Meter 1
Posts: 5
Join Date: Mar 2011
Location: Austin, TX
Thanks!!! I've been looking for this.
 
webwolf_3000
Old
(Last edited by webwolf_3000; 17th August 2012 at 09:21 AM.)
#10  
Member
Thanks Meter 6
Posts: 73
Join Date: Mar 2009
Location: Derbyshire
Program crashes on Windows 7 every time. show stopper...
Anyone else manage to use the windows version ?

Looking at the windows logs, it appears to be an issue with 64bit windows, I'll give it a shot on my netbook later.

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes


TRENDING IN THEMER...