• 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
Re: setting font
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: setting font


  • Subject: Re: setting font
  • From: Jens Alfke <email@hidden>
  • Date: Mon, 06 Aug 2012 10:30:04 -0700

On Aug 6, 2012, at 1:05 AM, Luca Ciciriello <email@hidden> wrote:

> [[self textView] setFont:[UIFont fontWithName:@"Chalkboard se regular" size:39.0f]];

Make sure that UIFont call isn't returning nil. In my experience, APIs that look up fonts by name are very picky about the name (for instance, you lowercased "SE" and didn't capitalize "Regular"). Moreover, the internal name may not match the displayed name.

—Jens
_______________________________________________

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: setting font
      • From: Luca Ciciriello <email@hidden>
References: 
 >setting font (From: Luca Ciciriello <email@hidden>)

  • Prev by Date: gesture
  • Next by Date: Re: setting font
  • Previous by thread: setting font
  • Next by thread: Re: setting font
  • Index(es):
    • Date
    • Thread