Re: Font Style Names for iPhone/iPad
Re: Font Style Names for iPhone/iPad
- Subject: Re: Font Style Names for iPhone/iPad
- From: Kyle Sluder <email@hidden>
- Date: Mon, 12 Apr 2010 15:15:25 -0700
On Mon, Apr 12, 2010 at 3:08 PM, Gordon Apple <email@hidden> wrote:
> Thanks for the response, but that is what I have now and am trying to get
> away from. I want ³normal², ³bold² and ³Italic², not ³Veranda²,
> ³Veranda-Bold² and ³Veranda-Italic² for the secondary list. In many cases
> it might be possible to strip the font Family name, but the font naming
> convention is not consistent. Some even use contractions. If you look at
> the font list in Pages on the iPad, it does what I want.
Ah, in that case you're going to need to do a little bit more work.
But CTFont does everything you need. Take a look at
kCTFontStyleNameKey and friends.
--Kyle Sluder
_______________________________________________
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