Re: how to filter available fonts for my application?
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