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