Font Panel and storing font user default
Font Panel and storing font user default
- Subject: Font Panel and storing font user default
- From: Stuart Malin <email@hidden>
- Date: Mon, 15 Jun 2009 09:21:52 -1000
I would like for my app to enable the user to set a user default for a
Font to be used in a certain part of the application. I have a
preferences panel, and within that am able to open the NSFontPanel.
However, I can't figure out how to capture the setting that is made:
must I actually have some text (say in a Text View) that is edited?
Also, is it possible to save an NSFont as an object in user
preferences? Or must I save off the parts of the font specification
separately: font name, size, attributes.
I have tried searching the usual places for info, but can't seem to
find anything that helps me directly, so am querying the list. TIA.
_______________________________________________
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