[metapost] rfc: consistent color values
bop at bop.com.pl
Fri Apr 8 20:18:03 CEST 2005
>It looks like this can be classified as an oversight (bug),
>because the documented behaviour is:
>"... all components are snapped back to the [0, 1] range
> when a color is given in a PostScript output file."
>so clearly the picture iteration should have reported the
>values with their negative components still intact.
> I think this should be classified as a documentation bug. I would
> prefer changing the documentation to changing the behavior. When
> I examine the color of picture components, I want to see the color it
> would get at shipout.
What about controlling this behavior by a variable, say, `truecolors',
similarly to the controlling of bounding boxes usin `truecorners'?
truecolors=0 -- current behavior
truecolors=1 -- colors are reduced to teh interval [0,1]
prior to the shipping the picture to PostScript
truecolors=2 -- actual colors are shipped to PostScript
Cheers -- Jacko
BOP s. c.
ul. Bora-Komorowskiego 24, 80-377 Gdansk, Poland
tel. (+48 58) 553 46 59, fax (+48 58) 511 03 81
bop at bop.com.pl, http://www.bop.com.pl
More information about the metapost