Re: Simple NSAttributedString question
Re: Simple NSAttributedString question
- Subject: Re: Simple NSAttributedString question
- From: Douglas Davidson <email@hidden>
- Date: Thu, 24 Jul 2003 14:13:51 -0700
On Thursday, July 24, 2003, at 01:27 PM, Christopher Corbell wrote:
This seemed straightforward... I just create a default NSFont (a
system font, in
small-system-font size) and if I want it italic I set the font trait
NSItalicFontMask.
Then I create a dictionary with this as object and NSFontAttributeName
as key...
Except that this doesn't appear to do anything in italic.
NSBoldFontMask -does-
work, so is this just a quirk of the system font (no italic
available), or am I doing
something else wrong?
If you are doing things correctly, then what you are seeing is a quirk
of the system font. Apple does not ship an italic variant of Lucida
Grande.
Douglas Davidson
_______________________________________________
cocoa-dev mailing list | email@hidden
Help/Unsubscribe/Archives:
http://www.lists.apple.com/mailman/listinfo/cocoa-dev
Do not post admin requests to the list. They will be ignored.