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 <j...@mooseyard.com> wrote:

> 
> On Aug 6, 2012, at 1:05 AM, Luca Ciciriello <luca_cicirie...@hotmail.com> 
> 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 (Cocoa-dev@lists.apple.com)

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:
https://lists.apple.com/mailman/options/cocoa-dev/archive%40mail-archive.com

This email sent to arch...@mail-archive.com

Reply via email to