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