Re: setting font
Re: setting font
- Subject: Re: setting font
- From: Fritz Anderson <email@hidden>
- Date: Mon, 06 Aug 2012 13:12:55 -0500
On 6 Aug 2012, at 3:05 AM, Luca Ciciriello <email@hidden> wrote:
> I'm trying to set a specific font in my UITextView.
>
> The font is Chalkboard SE Regular and my code is
>
> [[self textView] setFont:[UIFont fontWithName:@"Chalkboard se regular" size:39.0f]];
>
> but nothing appear un my UITextView.
>
> Where is my mistake?
It's the wrong name; it should be ChalkboardSE-Regular. I'm not sure there is much of a rule that maps between font names and their human-readable families. This useful site: <http://iosfonts.com> lists all available fonts in iOS. The names in the first column of the table are the ones you should use.
— F
--
Fritz Anderson -- Xcode 4 Unleashed: Now in stores! -- <http://x4u.manoverboard.org/>
_______________________________________________
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>) |