Re: Forcing Black on RTF Text generated from NSAttributedString
Re: Forcing Black on RTF Text generated from NSAttributedString
- Subject: Re: Forcing Black on RTF Text generated from NSAttributedString
- From: "R. Scott Thompson" <email@hidden>
- Date: Thu, 9 Dec 2004 13:06:18 -0600
I haven't tested this, but you could try using an NSColor that is not
equal to [NSColor blackColor], but whose RGB components are 0. I
believe it is sufficient to use
colorWithCalibratedRed:green:blue:alpha: but if necessary you could
use a custom NSColor subclass.
Well, I already tried colorWithCalibratedRed... and
colorWithDeviceRed.... Neither of those worked :-) I'll try a custom
subclass and (just as an experiment) I'll try a color that is so close
to black that it makes no odds.
Scott
_______________________________________________
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