• 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: XiaoGang Li <email@hidden>
  • Date: Fri, 30 Oct 2009 09:51:14 +0800

Thanks a lot. I will try.

On Fri, Oct 30, 2009 at 12:33 AM, Jens Alfke <email@hidden> wrote:

>
> 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
>
_______________________________________________

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 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>)
 >Re: how to filter available fonts for my application? (From: Jens Alfke <email@hidden>)

  • Prev by Date: Cocoa bindings problem
  • Next by Date: Re: Cocoa bindings problem
  • Previous by thread: Re: how to filter available fonts for my application?
  • Next by thread: Of FontManagers and responder chains
  • Index(es):
    • Date
    • Thread