Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • SEARCH
  • Home
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 7085065
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 28, 20262026-05-28T07:22:44+00:00 2026-05-28T07:22:44+00:00

i have added a custom font – one which i have downloaded from from

  • 0

i have added a custom font – one which i have downloaded from from the net. it is in TTF format and can be used on other programs on my mac. (Successfully added it to font book and used in fireworks).

I have added the key to the info .plist but the font doesn’t seem to work.

When i NSLog the font it is null so i am assuming it isn’t finding it.

The TTF is called LONDON__.TTF but has a name as London font.

What should i use as the font and add to the info.plist for this to work?

Thanks

Dan

Application fonts resource path = LONDON__.TTF

NSLog(@"%@",[UIFont fontWithName:@"London font" size:22]);

and

NSLog(@"%@",[UIFont fontWithName:@"LONDON__.TTF" size:22]);

Both of them return Null.

Although the file is named LONDON__.TTF the font appear as everyone in Font Book. is this the issue?

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-05-28T07:22:45+00:00Added an answer on May 28, 2026 at 7:22 am

    Look at all the available fonts

    Objective-C:

    for(NSString* family in [UIFont familyNames]) {
       NSLog(@"%@", family);
       for(NSString* name in [UIFont fontNamesForFamilyName: family]) {
          NSLog(@"  %@", name);
       }
    }
    

    Swift:

    for family: String in UIFont.familyNames() {
        print("%@", family)
        for name: String in UIFont.fontNamesForFamilyName(family) {
            print("  %@", name)
        }
    }
    

    ..if it’s not there, install again

    1. Copy the .ttf file into your project (i.e. drag it to the resource folder in the Project navigator).

    2. In your Info.plist add an entry with the key Fonts provided by application with an Array type. As Item 0, add a String value corresponding to the font file name (e.g. OpenSans-ExtraBoldItalic.ttf).

    3. Make sure the font file is included in the copy bundle resources list under the project settings.

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

I have a custom class loader which extends from a URLClassLoader. I added a
How can I use a custom font which was added in the asset folder
We have a custom font (ttf) that we added to a subversion repository. We've
If have created a custom role within SqlServer which I added to the db__denydatareader
I have a few custom UITableViewCells - http://img11.imageshack.us/i/customfacilitiescell.png/ which are added to this UIViewController
can anybody help me with this ? I have added some custom fields to
I've added a custom TTF font to my iOS universal app (put .ttf file
I have added a custom view to my subclass of NSMenuItem (which sits in
I have added a custom LabelDecorator to an Eclipse 3.6, which replaces the cryptic
I have added a custom order status option. Does anyone know how I can

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.