Re: setting font
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