Re: How can I get attributed string info in a form I can save?
Re: How can I get attributed string info in a form I can save?
- Subject: Re: How can I get attributed string info in a form I can save?
- From: Douglas Davidson <email@hidden>
- Date: Tue, 08 Mar 2005 13:19:19 -0800
On 2005-03-08 13:08:53 -0800 Dave Camp <email@hidden> wrote:
Looking at NSFont, I don't see any methods that will tell me if the
font is
italic or bold or whatnot, nor do I see anything in NSFontDescriptor.
It
appears I can pass that NSFont to [NSFontManager traitsOfFont:] and
get back
a traits mask which might be what I want. However, that seems a
roundabout
way of doing it.
Is that the expected way of performing an operation like this?
Yes, at least on 10.3 and before.
Douglas Davidson
_______________________________________________
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