[metapost] MP docs

Stephan Hennig mailing_list at arcor.de
Sat May 19 11:55:03 CEST 2007


Taco Hoekwater schrieb:

>   cmykblack    = (0,0,0,1)

I don't know if the following has already been part of the discussion.
If there is consensus about cmykblack becoming (0,0,0,1), there is a
related bug in the current behaviour.  The ps output of the attached
file contains this line

 1 1 1 1 setcmykcolor

That is, default colour in cmyk colour space is the "wrong"
representation of black.

One could argue that as long as you don't specify any colour you can't
expect sensible behaviour.  But I think this should be changed, with the
introduction of basic cmykcolor constants.

Best regards,
Stephan Hennig


defaultcolormodel := 7;
beginfig(1);
  fill unitsquare scaled 100;
endfig;
end


More information about the metapost mailing list