• 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: Luca Ciciriello <email@hidden>
  • Date: Mon, 06 Aug 2012 19:48:10 +0200

Thanks, You are right. My problem was in the name of the font (@"ChalkboardSE-Regular")

Luca.


On Aug 6, 2012, at 7:30 PM, Jens Alfke <email@hidden> wrote:

>
> 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


References: 
 >setting font (From: Luca Ciciriello <email@hidden>)
 >Re: setting font (From: Jens Alfke <email@hidden>)

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