• 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: 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>)

  • Prev by Date: Re: setting font
  • Next by Date: Problem using UIGestureRecognizer
  • Previous by thread: Re: setting font
  • Next by thread: Customizing the PKG deploy UI workflow Screens
  • Index(es):
    • Date
    • Thread