Re: NSFont & bold
Re: NSFont & bold
- Subject: Re: NSFont & bold
- From: John Brownlow <email@hidden>
- Date: Thu, 21 Apr 2005 13:46:46 -0400
the simplest way of doing it is something like
newFont = [[NSFontManager sharedFontManager] convertFont: oldFont
toHaveTrait: NSBoldFontMask];
On Apr 21, 2005, at 1:39 PM, Henry McGilton wrote:
You can also add or remove 'traits' using NSFontManager. Read
the 'Constants' section of NSFontManager, and look at addFontTrait:,
removeFontTrait:, convertFont:toHaveTrait, convertFont:toNotHaveTrait:
methods.
--
John Brownlow
Deep Fried Films, Inc
http://www.johnbrownlow.com
http://www.pinkheadedbug.com
_______________________________________________
Do not post admin requests to the list. They will be ignored.
Cocoa-dev mailing list (email@hidden)
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden