• 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: How to get bold and plain fonts?
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

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


References: 
 >How to get bold and plain fonts? (From: Graham Cox <email@hidden>)
 >Re: How to get bold and plain fonts? (From: Kyle Sluder <email@hidden>)
 >Re: How to get bold and plain fonts? (From: Graham Cox <email@hidden>)
 >Re: How to get bold and plain fonts? (From: Roland King <email@hidden>)

  • Prev by Date: Re: NSPathControl
  • Next by Date: Re: Looking at self = [super init].
  • Previous by thread: Re: How to get bold and plain fonts?
  • Next by thread: [PSA] OSStatus.com — Error code lookup
  • Index(es):
    • Date
    • Thread