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: Fri, 10 Dec 2004 13:52:34 -0600
On Dec 10, 2004, at 1:47 PM, Ali Ozer wrote:
I think if you put a variant of black in the attributed string that
doesn't compare isEqual: to [NSColor blackColor], it will get through.
Simplest way might be to create a black with [NSColor
calibratedColorWithRed:green:blue:alpha:], rather than using [NSColor
blackColor].
Thanks, Ali.
I did get this to work using [NSColor
calibratedColorWithRed:green:blue:alpha:]. I managed to get it stuck
into application as the RTF text goes out to the database so it only
affects the stuff in the database. It works well enough.
I've run into other problem that makes me think RTF is a pretty
wretched way to exchange styled text with Windows... or at least with
our Windows code :-)
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