You are Unregistered, please register to gain Full access.    

Go Back   SiNfuL iPhone > Themes | Ringtones | Customization > Fonts

Notices

Fonts iPhone | iPod Fonts

Reply
Thread Tools

 the carnifeckz font-porting tutorial
Unread 02-06-2011, 05:29 PM   #1
carnifeckz
Jailbroken
 
carnifeckz's Avatar
 
carnifeckz is offline
Join Date: Jun 2010
Device: iPhone 4
iOS Version: 4.2
iTunes Version: iTunes 10
Carrier: AT&T
OS: Windows 7
Location: California
Posts: 95
Thanks: 11
Thanked 307 Times in 27 Posts
the carnifeckz font-porting tutorial

iOS 4.2.1 font porting tutorial

==

hello font enthusiasts! i've decided to write an in-depth tutorial on how to port custom fonts to iOS 4.2.1, as it is quite a complex process. failure to properly port your fonts can seriously mess up your device, i've had to restore twice in failed ports :P

try at your own risk!

==

tools you need:

-dosbox (tool which allows you to use ttsdk on 64-bit windows)
-ttsdk (utility for packing/unpacking the .ttc)
-fontlab (program for modifying the .ttf's)
-any sort of tool which allows you to SSH into your device (to access/replace the fonts)

==

font files: explained

the fonts files and their functions vary depending on what firmware you are running and what device you are using. this tutorial covers 4.2.1 on an iphone 4, but i am sure you can successfully port fonts to any existing iOS 4 firmware if you make slight modifications for your particular set-up. unfortunately, the fonts on iOS 4 are a little more complex than they were on 3.X.X. apple has decided to package most of the system fonts in a .ttc, which requires utilities to modify. the other files, which are .ttf's, simply need to be edited with fontlab. i have an iphone 4 running 4.2.1 and i had to do a lot of trial and error to discern which files to customize. some of these steps may be unnecessary, but this is the process that worked for me (i had to figure this out for 4.2.1). for my device, these are the font files i modified/how they function:

_H_Helvetica.ttc (_UH_ on 3GS) - suprisingly, the only change i found after modifying this .ttc was the font in SBSettings. i'm sure it controls other aspects of the iOS, but this is the only one i've noticed. i suspect this .ttc themes minor system elements.

when this .ttc is unpacked, it creates:

FONT00.TTF
FONT01.TTF
FONT03.TTF
FONT04.TTF
FONT05.TTF
FONT06.TTF
FONT07.TTF

the files i modified are FONT00.TTF and FONT01.TTF!

--

_H_HelveticaNeue.ttc (_UH_ on 3GS) - this is the file which functions as your system font. (most significant port)

when this .ttc is unpacked, it creates:


FONT00.TTF
FONT01.TTF
FONT03.TTF
FONT04.TTF
FONT05.TTF
FONT06.TTF
FONT07.TTF

the files i modifed are FONT04.TTF and FONT05.TTF!

--

PhoneKeyCaps.ttf - themes your device's keyboard. note: i had to navigate to /var/mobile/Library/Caches and delete com.apple.keyboards (a cache file, i suspect) then respring to get my port to function.

--

LockClock.ttf - pretty easy port, it replaces your lockclock font.

note: for the .ttc's, you are free to modify as many .ttf's as you wish. i modifed the most critical font files. you can see how my iphone turned out below!

==

performing the port

.ttc:

here, i will be explaining how to port the _H_HelveticaNeue.ttc! the naming of the files/directories are up to you, but you are free to use mine!

--

1. navigate to /System/Library/Fonts/Caches and acquire the font files which you wish to modify. for the port, rename your file to something easy to type (i named _H_HelveticaNeue.ttc to hneue.ttc).

2. install dosbox, and extract ttsdk to a directory which you can locate with ease. i used the directory c:\tools\ttsdk (use mine if you want to use the commands below)

3. place your .ttc font file into the directory "TTC" (mine was: c:\tools\ttsdk\ttc)

4. open up dosbox and enter the following commands:

a) mount c c:\tools\ttsdk
b) c:
c) cd TTC

5. now we are ready to unpack our .ttc! to unpack, enter the command BREAKTTC hneue.ttc

dosbox should look like this:



you should now have 8 .ttf's in your TTC folder (FONT00.TTF-FONT07.TTF). now, for _H_HelveticaNeue.ttc, the files which you want to edit are FONT04.TTF and FONT05.TTF!

6. open up FONT04.TTF and FONT05.TTF in fontlab. also, open the font which you wish to port.

7. in fontlab, go to your custom font. press ctrl+alt+f and go to Metrics and Dimensions. change the UPM to 1000 and check the box which says "Scale all glyphs according to UPM size change". hit ok, then select all your glyphs will ctrl+a. the glyphs should now be highlighted turquoise. then copy the glyphs with ctrl+c.

note: regarding UPM size changing, MAKE SURE the box is checked on both fonts, AND that they have the same UPM. NEVER CHANGE THE DEFAULT FONT'S UPM. CHANGE YOUR CUSTOM FONTS UPM TO MATCH THE DEFAULT!

8. in fontlab, go to your FONT04/FONT05 and set the UPM to 1000 and check the box. select all the glyphs with ctrl+a

9. paste the custom glyphs with ctrl+alt+v. a window should pop up. check these boxes:



10. now, your custom glyphs should be appearing on FONT04/FONT05! generate your new fonts with ctrl+alt+g. make sure they are named FONT04.TTF/FONT05.TTF

11. paste FONT04.TTF/FONT05.TTF into c:\tools\ttsdk\ttc. it should overwrite the old .ttf's

12. now we are going to repack our .ttc! use the following command to create your .ttc:

MAKETTC hneue.ttc FONT00.TTF FONT01.TTF FONT02.TTF FONT03.TTF FONT04.TTF FONT05.TTF FONT06.TTF FONT07.TTF

you should get a lot of output on dosbox. retrieve your custom .ttc from c:\tools\ttsdk\ttc.

13. rename your .ttc to _H_HelveticaNeue.ttc and replace the original file with your custom .ttc -- MAKE SURE TO BACKUP YOUR ORIGINAL FONT FILES!

14. respring your device. your font should now be successly ported.

==

ttf:

much easier! for .ttf's, follow steps 6-10 and simply replace the corresponding .ttf located in /System/Library/Fonts


==


that's it! i based my tutorial off padhg's post here (#112). i felt i could make it more detailed. i spent a lot of time writing this tutorial, please hit the thanks button!

==

i'll port your fonts if i'm not feeling lazy -- don't abuse this privelege. also, i will only port your font if you post all the files needed for the port (default and custom files)
i'm really good with porting fonts to the iOS, check out my thread here!

Last edited by carnifeckz; 04-25-2011 at 08:15 PM.
  Reply With Quote
The Following 16 Users Say Thank You to carnifeckz For This Useful Post:
(-•SiNfulSS•-) (09-02-2013), alphacys (04-12-2012), andy71600 (02-10-2011), dabudyobo (05-08-2011), dandan375 (02-15-2011), eflamenco (02-18-2011), get (02-16-2011), Lynott (02-22-2011), musicofnite (03-06-2013), Orgel42 (02-13-2011), shmi117 (02-21-2011), surfingfireboy (07-23-2011), tasevi (04-18-2011), trentmorris (05-11-2011), yuthear (11-05-2011), zombyard (03-07-2012)

 
Unread 02-06-2011, 06:22 PM   #2
lothariokundalini
(still) Hacked by Contra
 
lothariokundalini's Avatar
 
lothariokundalini is offline
Join Date: Mar 2010
Device: iPhone 4
iOS Version: 5.0.1
iTunes Version: iTunes 10
Carrier: Other
OS: Windows Vista
Location: Philippines
Posts: 1,877
Thanks: 529
Thanked 389 Times in 292 Posts
i miss fontswap on iOS 4.0+
i may disagree violently with what you say but i will fight to death your right to say it
  Reply With Quote

 
Unread 02-06-2011, 09:06 PM   #3
1000101
n00b
 
1000101's Avatar
 
1000101 is offline
Join Date: Sep 2009
Device: iPhone 4
iOS Version: 4.2
iTunes Version: iTunes 10
Carrier: Verizon
OS: Windows 7
Location: CA
Posts: 17
Thanks: 5
Thanked 1 Time in 1 Post
Hey longitude. If you can please help me. I don't have a computer and I recently posted here a zip file with a font I desperatley want. My post with the zip is here:Can someone Please port this Starcine Font - SiNfuL iPhone. Is there anyway you can port this for me? I would really appreciate it so much man. I'm stuck and have nowhere to turn
  Reply With Quote

 
Unread 02-07-2011, 03:55 PM   #4
carnifeckz
Jailbroken
 
carnifeckz's Avatar
 
carnifeckz is offline
Join Date: Jun 2010
Device: iPhone 4
iOS Version: 4.2
iTunes Version: iTunes 10
Carrier: AT&T
OS: Windows 7
Location: California
Posts: 95
Thanks: 11
Thanked 307 Times in 27 Posts
Quote:
Originally Posted by 1000101 View Post
Hey longitude. If you can please help me. I don't have a computer and I recently posted here a zip file with a font I desperatley want. My post with the zip is here:Can someone Please port this Starcine Font - SiNfuL iPhone. Is there anyway you can port this for me? I would really appreciate it so much man. I'm stuck and have nowhere to turn
I'd prefer you attempt my tutorial first!
i'm really good with porting fonts to the iOS, check out my thread here!
  Reply With Quote
The Following User Says Thank You to carnifeckz For This Useful Post:
dandan375 (02-15-2011)

 
Unread 02-07-2011, 04:40 PM   #5
1000101
n00b
 
1000101's Avatar
 
1000101 is offline
Join Date: Sep 2009
Device: iPhone 4
iOS Version: 4.2
iTunes Version: iTunes 10
Carrier: Verizon
OS: Windows 7
Location: CA
Posts: 17
Thanks: 5
Thanked 1 Time in 1 Post
Hey longtitude, I have attempted your tutorial and others and I fail. I am good with computers, but when it comes to this, I fail. Can you do it for me? I know its a lot to ask for but I would appreciate it a lot.
  Reply With Quote

 
Unread 02-07-2011, 06:23 PM   #6
carnifeckz
Jailbroken
 
carnifeckz's Avatar
 
carnifeckz is offline
Join Date: Jun 2010
Device: iPhone 4
iOS Version: 4.2
iTunes Version: iTunes 10
Carrier: AT&T
OS: Windows 7
Location: California
Posts: 95
Thanks: 11
Thanked 307 Times in 27 Posts
Quote:
Originally Posted by 1000101 View Post
Hey longtitude, I have attempted your tutorial and others and I fail. I am good with computers, but when it comes to this, I fail. Can you do it for me? I know its a lot to ask for but I would appreciate it a lot.
ok post your font files which you want to be modified
i'm really good with porting fonts to the iOS, check out my thread here!
  Reply With Quote
The Following User Says Thank You to carnifeckz For This Useful Post:
dandan375 (02-15-2011)

 
Unread 02-07-2011, 08:39 PM   #7
1000101
n00b
 
1000101's Avatar
 
1000101 is offline
Join Date: Sep 2009
Device: iPhone 4
iOS Version: 4.2
iTunes Version: iTunes 10
Carrier: Verizon
OS: Windows 7
Location: CA
Posts: 17
Thanks: 5
Thanked 1 Time in 1 Post
Ok you are the MAAAANNN. My font is attached below. Is there anyway you can make it a full ui font change? i.e. Helvetica.ttc, MarkerFeltThin.ttf, LockClock.ttf, PhonepadTwo.ttf (HelveticaNeue.ttc and PhoneKeyCaps.ttf ? I know it is a lot to ask. I use to have this font on 3.x.x days and it was a full ui font to the system like keyboard, springboard, etc and I MISS IT. I have been wanting this for soooo llloooonng. If you can make it a full system change, I will be extremely thankful and happy.

Thanks again. Ill be sure to hit thanks. Did I mention thanks?
Attached Files
File Type: zip allen-r-walden_final-frontier.zip (13.1 KB, 18 views)

Last edited by 1000101; 02-07-2011 at 08:48 PM.
  Reply With Quote

 
Unread 02-08-2011, 10:05 AM   #8
carnifeckz
Jailbroken
 
carnifeckz's Avatar
 
carnifeckz is offline
Join Date: Jun 2010
Device: iPhone 4
iOS Version: 4.2
iTunes Version: iTunes 10
Carrier: AT&T
OS: Windows 7
Location: California
Posts: 95
Thanks: 11
Thanked 307 Times in 27 Posts
Quote:
Originally Posted by 1000101 View Post
Ok you are the MAAAANNN. My font is attached below. Is there anyway you can make it a full ui font change? i.e. Helvetica.ttc, MarkerFeltThin.ttf, LockClock.ttf, PhonepadTwo.ttf (HelveticaNeue.ttc and PhoneKeyCaps.ttf ? I know it is a lot to ask. I use to have this font on 3.x.x days and it was a full ui font to the system like keyboard, springboard, etc and I MISS IT. I have been wanting this for soooo llloooonng. If you can make it a full system change, I will be extremely thankful and happy.

Thanks again. Ill be sure to hit thanks. Did I mention thanks?
I need you to SSH into your device and retrieve your default fonts and post them here for me.
i'm really good with porting fonts to the iOS, check out my thread here!
  Reply With Quote
The Following User Says Thank You to carnifeckz For This Useful Post:
dandan375 (02-15-2011)

 
Unread 02-08-2011, 04:26 PM   #9
carnifeckz
Jailbroken
 
carnifeckz's Avatar
 
carnifeckz is offline
Join Date: Jun 2010
Device: iPhone 4
iOS Version: 4.2
iTunes Version: iTunes 10
Carrier: AT&T
OS: Windows 7
Location: California
Posts: 95
Thanks: 11
Thanked 307 Times in 27 Posts
Quote:
Originally Posted by 1000101 View Post
Ok sinful is not letting me upload the font cause it is over 1mb. Here is a link to 4.1 original files below but its only heveltica neue and regular. can u still create the keyboard, marker, and lockclock with from what i have supplied you?
i want all the files you need customized. so give me the keyboard, marker and lockclock fonts
i'm really good with porting fonts to the iOS, check out my thread here!
  Reply With Quote
The Following 2 Users Say Thank You to carnifeckz For This Useful Post:
1000101 (02-09-2011), dandan375 (02-15-2011)

 
Unread 02-08-2011, 08:17 PM   #10
1000101
n00b
 
1000101's Avatar
 
1000101 is offline
Join Date: Sep 2009
Device: iPhone 4
iOS Version: 4.2
iTunes Version: iTunes 10
Carrier: Verizon
OS: Windows 7
Location: CA
Posts: 17
Thanks: 5
Thanked 1 Time in 1 Post
Ok here they are. Sorry for the delay and thank you again. These are all 4.2 original fonts. One of them is already modded but if you can make sure it will work for 4.2 that will be great. the one that is already modded is the PhoneKeyCaps and I got it from an iphone font website. that one is from 4.1 firmware. The rest of them are 4.2. I will be on 4.2 once I get my new iphone. The PhoneKeyCaps is not the font I want, so I was wondering if you can change that one for me to. Thanks again longtitude.
Attached Files
File Type: zip _H_Helvetica.zip (782.2 KB, 43 views)
File Type: zip _H_HelveticaNeue.zip (864.3 KB, 20 views)
File Type: zip _H_MarkerFeltThin.zip (115.1 KB, 9 views)
File Type: zip _UH_Helvetica.zip (499.4 KB, 12 views)
File Type: zip _UH_HelveticaNeue.zip (458.1 KB, 15 views)
File Type: zip _UH_MarkerFeltThin.zip (93.6 KB, 8 views)
File Type: zip LockClock.zip (18.5 KB, 10 views)
File Type: zip PhoneKeyCaps.zip (392.9 KB, 13 views)
File Type: zip PhonepadTwo.zip (10.7 KB, 14 views)

Last edited by 1000101; 02-08-2011 at 09:00 PM.
  Reply With Quote

 
Unread 02-11-2011, 03:26 PM   #11
carnifeckz
Jailbroken
 
carnifeckz's Avatar
 
carnifeckz is offline
Join Date: Jun 2010
Device: iPhone 4
iOS Version: 4.2
iTunes Version: iTunes 10
Carrier: AT&T
OS: Windows 7
Location: California
Posts: 95
Thanks: 11
Thanked 307 Times in 27 Posts
Quote:
Originally Posted by 1000101 View Post
Ok here they are. Sorry for the delay and thank you again. These are all 4.2 original fonts. One of them is already modded but if you can make sure it will work for 4.2 that will be great. the one that is already modded is the PhoneKeyCaps and I got it from an iphone font website. that one is from 4.1 firmware. The rest of them are 4.2. I will be on 4.2 once I get my new iphone. The PhoneKeyCaps is not the font I want, so I was wondering if you can change that one for me to. Thanks again longtitude.
try this:

Download finalfrontier_longitude_.rar from Mirrorcreator - Upload files to multiple file sharing sites
i'm really good with porting fonts to the iOS, check out my thread here!
  Reply With Quote
The Following User Says Thank You to carnifeckz For This Useful Post:
dandan375 (02-15-2011)

 
Unread 02-11-2011, 06:21 PM   #12
1000101
n00b
 
1000101's Avatar
 
1000101 is offline
Join Date: Sep 2009
Device: iPhone 4
iOS Version: 4.2
iTunes Version: iTunes 10
Carrier: Verizon
OS: Windows 7
Location: CA
Posts: 17
Thanks: 5
Thanked 1 Time in 1 Post
Thanks longtitude...YOU ARE THE MAN!!!!! It works perfect except for the keyboard. The keyboard is still stock font. Is there anyway for you to fix that? If not its ok cause you have done enough but if you got the time that would be reallllyyy cool. Thanks!
  Reply With Quote

 
Unread 02-11-2011, 06:29 PM   #13
myth20
Pinoy

 
myth20's Avatar
 
myth20 is offline
Join Date: Aug 2010
Device: iPhone 5
iOS Version: 6.1.2
iTunes Version: iTunes 11
Carrier: AT&T
OS: Mac OS X
Location: Your sister's house
Posts: 3,696
Thanks: 1,346
Thanked 9,263 Times in 1,995 Posts
Interesting. But, one mistake could really mess phone and end-up to restoring.
Game Center: myth20
  Reply With Quote

 
Unread 02-11-2011, 07:22 PM   #14
carnifeckz
Jailbroken
 
carnifeckz's Avatar
 
carnifeckz is offline
Join Date: Jun 2010
Device: iPhone 4
iOS Version: 4.2
iTunes Version: iTunes 10
Carrier: AT&T
OS: Windows 7
Location: California
Posts: 95
Thanks: 11
Thanked 307 Times in 27 Posts
Quote:
Originally Posted by myth20 View Post
Interesting. But, one mistake could really mess phone and end-up to restoring.
i know! but it's really easy once you get the hang of it. i can do a full port in about 15 minutes now.

1000101:

go to /mobile/library/caches/. delete "com.apple.keyboards" file then respring
i'm really good with porting fonts to the iOS, check out my thread here!

Last edited by carnifeckz; 02-11-2011 at 07:39 PM.
  Reply With Quote
The Following User Says Thank You to carnifeckz For This Useful Post:
dandan375 (02-15-2011)

 
Unread 02-11-2011, 10:13 PM   #15
1000101
n00b
 
1000101's Avatar
 
1000101 is offline
Join Date: Sep 2009
Device: iPhone 4
iOS Version: 4.2
iTunes Version: iTunes 10
Carrier: Verizon
OS: Windows 7
Location: CA
Posts: 17
Thanks: 5
Thanked 1 Time in 1 Post
Dude....longtitude...you are the best. Ive been fucking waiting for this forever since 4.0 came out. Thanks a billion. Its really kind of you to do this. Not many people in this world help people.
  Reply With Quote

 
Unread 02-11-2011, 10:25 PM   #16
carnifeckz
Jailbroken
 
carnifeckz's Avatar
 
carnifeckz is offline
Join Date: Jun 2010
Device: iPhone 4
iOS Version: 4.2
iTunes Version: iTunes 10
Carrier: AT&T
OS: Windows 7
Location: California
Posts: 95
Thanks: 11
Thanked 307 Times in 27 Posts
Quote:
Originally Posted by 1000101 View Post
Dude....longtitude...you are the best. Ive been fucking waiting for this forever since 4.0 came out. Thanks a billion. Its really kind of you to do this. Not many people in this world help people.
thanks man :]

it's my pleasure.

enjoy your custom font!
i'm really good with porting fonts to the iOS, check out my thread here!
  Reply With Quote
The Following User Says Thank You to carnifeckz For This Useful Post:
dandan375 (02-15-2011)

 
Unread 02-14-2011, 01:35 AM   #17
rogergamer
n00b
 
rogergamer is offline
Join Date: Sep 2010
Device: iPad
iOS Version: 4.2
iTunes Version: iTunes 10
Carrier: Other
OS: Mac OS X
Location: not in the US
Posts: 9
Thanks: 0
Thanked 0 Times in 0 Posts
@longtitude, can u plz help me port a font? i tried to port fonts b4, multiple times, but all failed miserably

if u have time, this plz: Champagne & Limousines Font | dafont.com

thanks in advance

edit: and can u plz post the one from ur screen?? thanks again

Last edited by rogergamer; 02-14-2011 at 03:32 AM.
  Reply With Quote

 
Unread 02-14-2011, 05:21 AM   #18
klouud
Jailbroken
 
klouud is offline
Join Date: Jul 2010
Device: iPhone 3GS
iOS Version: 4.1
iTunes Version: iTunes 10
Carrier: AT&T
OS: Mac OS X
Location: NC
Posts: 47
Thanks: 3
Thanked 4 Times in 2 Posts
Your screenshot shows Neutraface 1 or 2 - would you mind sharing your already ported version of Neutraface plz?

thanx
  Reply With Quote

 
Unread 02-14-2011, 02:55 PM   #19
carnifeckz
Jailbroken
 
carnifeckz's Avatar
 
carnifeckz is offline
Join Date: Jun 2010
Device: iPhone 4
iOS Version: 4.2
iTunes Version: iTunes 10
Carrier: AT&T
OS: Windows 7
Location: California
Posts: 95
Thanks: 11
Thanked 307 Times in 27 Posts
@rogergamer i need more information (post the appropriate files)
i'm really good with porting fonts to the iOS, check out my thread here!

Last edited by carnifeckz; 02-26-2011 at 03:43 PM.
  Reply With Quote
The Following User Says Thank You to carnifeckz For This Useful Post:
dandan375 (02-15-2011)

 
Unread 02-15-2011, 05:51 AM   #20
rogergamer
n00b
 
rogergamer is offline
Join Date: Sep 2010
Device: iPad
iOS Version: 4.2
iTunes Version: iTunes 10
Carrier: Other
OS: Mac OS X
Location: not in the US
Posts: 9
Thanks: 0
Thanked 0 Times in 0 Posts
nvm, i guess ill just have to try again
BTW, how do u do this on a mac??? same steps?
  Reply With Quote
Reply

Thread Tools

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is On




All times are GMT -7. The time now is 09:42 AM.

Copyright © 2009 ––––•(SiNfulSS)•–––- Shot Caller @ SiNfuL iPhone