• 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
Getting notification about new font is available
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Getting notification about new font is available


  • Subject: Getting notification about new font is available
  • From: "Rimas M." <email@hidden>
  • Date: Tue, 06 Sep 2011 09:56:51 +0300

Hello list,

During weekend I was trying to figure out how to know when new font becomes
available. The only method I was able to find is - (BOOL)fontManager:(id)*
theFontManager*
willIncludeFont:(NSString<file:///Developer-old/Documentation/DocSets/com.apple.adc.documentation.AppleSnowLeopard.CoreReference.docset/Contents/Resources/Documents/documentation/Cocoa/Reference/Foundation/Classes/NSString_Class/Reference/NSString.html#//apple_ref/doc/c_ref/NSString>
 *)*fontName* of NSFontManager. But according to the documentation: *
Important:*  This delegate method is not called in Mac OS X versions 10.3
and later. So it does not work... (I have tried - just in case).

For example: if I have a RTF file with "Noteworthy" family font (which is
available by default on Lion, but not in SL), after opening it on SL
(TextEdit) the font becomes visible in NSFontPanel for that app running
session. I need to catch that moment to update my own fonts popup.

Any thoughts are very appreciate.

Best Regards,

Rimas M.
_______________________________________________

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: Getting notification about new font is available
      • From: Martin Wierschin <email@hidden>
  • Prev by Date: Re: Long delay of NSPopUpButton first click
  • Next by Date: Re: Long delay of NSPopUpButton first click
  • Previous by thread: Re: Long delay of NSPopUpButton first click
  • Next by thread: Re: Getting notification about new font is available
  • Index(es):
    • Date
    • Thread