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

how to filter available fonts for my application?


  • Subject: how to filter available fonts for my application?
  • From: XiaoGang Li <email@hidden>
  • Date: Thu, 29 Oct 2009 16:34:12 +0800

I searched the lists before posting this question, and found that it is an
old topics, but I am still confused.

I have an application which can use only a subset of fonts installed in the
system. So, I need to filter my available fonts, and users just can see the
available fonts from the font panel when he or she click the show font menu.


the <Font Panel>document says that before the NSFontPanel object adds a
particular font family or face to its list, the NSFontPanel asks its
delegate to confirm the addition by sending the delegate a
fontManager:willIncludeFont: message. But the <NSFontManager Class
Reference> tells me that this delegate methods is not called in Mac OS X
version 10.3 and later.

I don't have any idea how to implement it now? does anyone know it? thanks
ahead!
_______________________________________________

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: Jens Alfke <email@hidden>
  • Prev by Date: NSTextFieldCell subclass hobbles the field editor
  • Next by Date: Re: Showing activity indicator during data download
  • Previous by thread: Re: SOLVED NSTextFieldCell subclass hobbles the field editor
  • Next by thread: Re: how to filter available fonts for my application?
  • Index(es):
    • Date
    • Thread