• Open Menu Close Menu
  • Apple
  • Shopping Bag
  • Apple
  • Mac
  • iPad
  • iPhone
  • Watch
  • TV
  • Music
  • Support
  • Search apple.com
  • Shopping Bag

Lists

Open Menu Close Menu
  • Terms and Conditions
  • Lists hosted on this site
  • Email the Postmaster
  • Tips for posting to public mailing lists
iOS 7 downloadable fonts
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

iOS 7 downloadable fonts


  • Subject: iOS 7 downloadable fonts
  • From: Gideon King <email@hidden>
  • Date: Sun, 19 Jan 2014 15:26:32 +1000

Hi, I am trying to use CTFontDescriptorMatchFontDescriptorsWithProgressHandler to download a font. It appears to download fine, and I can display it in my application. [UIFont familyNames] includes that font.

I restart my application, and [UIFont familyNames] does not include the downloaded font, and I can’t create the font using fontWithName:size:.

I have tested this on both my iPad and the simulator, and it always forgets the downloaded font on restart of the application.

On the simulator, if I go to Library/Assets/com_apple_MobileAsset_Font I can see the folder with the downloaded font in it, and there is a com_apple_MobileAsset_Font.plist file which includes all the information about the downloaded font. So it knows about the font, and the font is really there, but when I try to use it in my application it isn’t there until I download it again during that session.

Is there something I am doing wrong? Do I need to initialize something to get it to include the downloaded fonts in the search?


Regards

Gideon






_______________________________________________

Cocoa-dev mailing list (email@hidden)

Please do not post admin requests or moderator comments to the list.
Contact the moderators at cocoa-dev-admins(at)lists.apple.com

Help/Unsubscribe/Update your Subscription:

This email sent to email@hidden


  • Follow-Ups:
    • Re: iOS 7 downloadable fonts
      • From: Tualatrix Chou <email@hidden>
  • Prev by Date: Re: Binding not setting model property
  • Next by Date: Re: Binding not setting model property
  • Previous by thread: Re: Binding not setting model property
  • Next by thread: Re: iOS 7 downloadable fonts
  • Index(es):
    • Date
    • Thread