Adding Custom Fonts to Xcode 4.2.x to use inside Apps.

Discussion in 'iOS Programming' started by Amazing Iceman, Dec 28, 2011.

  1. Amazing Iceman macrumors 68040

    Amazing Iceman

    Joined:
    Nov 8, 2008
    Location:
    Florida, U.S.A.
    #1
    I have seen several posts regarding this matter, most being over 2 - 3 years old. Now that Xcode and iOS have evolved so much, is it still possible to add a custom font to Xcode so it would be available to use inside any apps I create?
     
  2. KnightWRX macrumors Pentium

    KnightWRX

    Joined:
    Jan 28, 2009
    Location:
    Quebec, Canada
    #2
    Yes. What makes you think they removed the option ?
     
  3. jnoxx macrumors 65816

    jnoxx

    Joined:
    Dec 29, 2010
    Location:
    Aartselaar // Antwerp // Belgium
    #3
    Interesting, I have researched this like 1.5 hours ago :)
    Prior iOS5 I allways used a library called FontManager.. and it allways worked fine for custom fonts, and have been approved in the appstore etc too.
    Now, this library doesn't work anymore, since I gave ARC a go..
    So I have been researching, I found one, (which is new, so topics about being really old is a lame excuse imho, cuz i found alot).
    There is an entry in your plist called "Add fonts, blala".
    So then you can add your TTF's to your project, and just set the UIFont of a label, to a custom font, and it should work just fine.
     

Share This Page