Re: How to get bold and plain fonts?
Re: How to get bold and plain fonts?
- Subject: Re: How to get bold and plain fonts?
- From: Graham Cox <email@hidden>
- Date: Mon, 01 Jun 2015 07:15:16 +1000
> On 31 May 2015, at 4:43 pm, Roland King <email@hidden> wrote:
>
>>
>> So, TL;DR: how do I find the Font Family name(s) corresponding to an arbitrary list of NSFontDescriptors from a font collection?
>>
>> —Graham
>>
>>
>
> just looking at the docs for NSFontDescriptor I would guess
>
> [ fontDescriptor objectForKey:NSFontFamilyAttribute ]
D’oh!!! As simple as that.
Thanks…
—Graham
_______________________________________________
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