FROM : John Stiles
DATE : Thu Dec 09 22:40:50 2004
You could make a pseudo black with RGB(1,1,1) instead of RGB(0,0,0).
Obviously not a solution if this is for prepress or something, but for
display only, it'll look 99.61% as good as real black.
On Dec 9, 2004, at 11:55 AM, Douglas Davidson wrote:
>
> On Dec 9, 2004, at 11:46 AM, R. Scott Thompson wrote:
>
>
>> As it turns out, however, if you then round-trip that same code
>> through RTF (that is, you generate an RTF from it, and then generate
>> a string from the RTF) you loose all the lovely work you did in
>> applying your own black to the ranges.
>
> RTF stores colors as RGB, 0-255 for each component. If you use your
> own black, the difference is that you will get an explicit entry in
> the color table rather than relying on the implicit automatic entry 0.
>
> Douglas Davidson
>
>
> _______________________________________________
> Do not post admin requests to the list. They will be ignored.
> Cocoa-dev mailing list (<email_removed>)
> Help/Unsubscribe/Update your Subscription:
> http://lists.apple.com/mailman/options/cocoa-dev/<email_removed>
>
> This email sent to <email_removed>
DATE : Thu Dec 09 22:40:50 2004
You could make a pseudo black with RGB(1,1,1) instead of RGB(0,0,0).
Obviously not a solution if this is for prepress or something, but for
display only, it'll look 99.61% as good as real black.
On Dec 9, 2004, at 11:55 AM, Douglas Davidson wrote:
>
> On Dec 9, 2004, at 11:46 AM, R. Scott Thompson wrote:
>
>
>> As it turns out, however, if you then round-trip that same code
>> through RTF (that is, you generate an RTF from it, and then generate
>> a string from the RTF) you loose all the lovely work you did in
>> applying your own black to the ranges.
>
> RTF stores colors as RGB, 0-255 for each component. If you use your
> own black, the difference is that you will get an explicit entry in
> the color table rather than relying on the implicit automatic entry 0.
>
> Douglas Davidson
>
>
> _______________________________________________
> Do not post admin requests to the list. They will be ignored.
> Cocoa-dev mailing list (<email_removed>)
> Help/Unsubscribe/Update your Subscription:
> http://lists.apple.com/mailman/options/cocoa-dev/<email_removed>
>
> This email sent to <email_removed>
| Related mails | Author | Date |
|---|---|---|
| R. Scott Thompson | Dec 9, 18:56 | |
| Douglas Davidson | Dec 9, 20:55 | |
| John Stiles | Dec 9, 22:40 | |
| Andrew Farmer | Dec 10, 00:45 | |
| John Stiles | Dec 10, 01:03 | |
| R. Scott Thompson | Dec 10, 02:30 | |
| Ali Ozer | Dec 10, 20:47 | |
| R. Scott Thompson | Dec 10, 20:52 |






Cocoa mail archive

