• 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 filter available fonts for my application?
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: how to filter available fonts for my application?


  • Subject: Re: how to filter available fonts for my application?
  • From: Jens Alfke <email@hidden>
  • Date: Thu, 29 Oct 2009 09:33:06 -0700


On Oct 29, 2009, at 9:02 AM, Ross Carter wrote:

Do you really need to support 10.3? I'm sure there are few copies of it still in the wild, and someone who hasn't even upgraded the OS in five years is unlikely to be installing new apps, anyway.

I think the question is how to support post-10.3, not how to support 10.3. I don't know the answer, but it might help to subclass NSFontManager, override -availableFonts, and use +setFontManagerFactory:.

Oops, I misread the OP as "...not called on 10.3 and earlier". Sorry about that :/


The subclassing approach sounds good, especially since the use of the factory pattern indicates that NSFontManager is intended to be replaceable.

—Jens_______________________________________________

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


  • Follow-Ups:
    • Re: how to filter available fonts for my application?
      • From: XiaoGang Li <email@hidden>
References: 
 >how to filter available fonts for my application? (From: XiaoGang Li <email@hidden>)
 >Re: how to filter available fonts for my application? (From: Jens Alfke <email@hidden>)
 >Re: how to filter available fonts for my application? (From: Ross Carter <email@hidden>)

  • Prev by Date: Re: Showing activity indicator during data download
  • Next by Date: Re: Showing activity indicator during data download
  • Previous by thread: Re: how to filter available fonts for my application?
  • Next by thread: Re: how to filter available fonts for my application?
  • Index(es):
    • Date
    • Thread