• 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: Update of Typography panel
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Update of Typography panel


  • Subject: Re: Update of Typography panel
  • From: Kyle Sluder <email@hidden>
  • Date: Tue, 31 Jan 2012 10:54:52 -0800

On Mon, Jan 30, 2012 at 11:38 PM, Martin Huber <email@hidden> wrote:
>>> How can I refresh the Typography panel to show the features of the active font?
>>
>> It's been a while since I looked at this annoying problem, but IIRC NSTextView's "updateFontPanel" was the only method with the magic needed to update the Typography panel. You'll have to call NSTextView's "setTypingAttributes:" and "updateFontPanel" methods.
>>
> Thank you for your answer.
> I was just about to create a dummy NSTextView, when I found the (obvious) solution: I have to use [[NSFontManager sharedFontManager] setSelectedAttributes:isMultiple:]. This updates the Typography panel (at least with 10.7).

I'm confused. Isn't this precisely what you said _didn't_ work in your
original email?

--Kyle Sluder

_______________________________________________

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: Update of Typography panel
      • From: Martin Wierschin <email@hidden>
References: 
 >Update of Typography panel (From: Martin Huber <email@hidden>)
 >Re: Update of Typography panel (From: Martin Wierschin <email@hidden>)
 >Re: Update of Typography panel (From: Martin Huber <email@hidden>)

  • Prev by Date: Re: iCloud On OSX - Cannot save changes
  • Next by Date: Re: On iOS5 simulator and device, NSDateFormatter doesn't show time zone abbreviation for "Asia/Kolkata" for the "z" or "zzz" specifier.
  • Previous by thread: Re: Update of Typography panel
  • Next by thread: Re: Update of Typography panel
  • Index(es):
    • Date
    • Thread