On Tue, 2008-09-30 at 13:06 +0100, Peter TB Brett wrote:

> Yep. There'll also be a B&W "builtin" colour map used if for some reason the 
> Scheme files can't be loaded.

B&W is also used for printing and PNG export, with the caveat that in
postscript, it isn't _actually_ used.. we just don't emit any color
change commands.

We could use the B&W colour map to give a non special cased B&W output
mode. We would retain the behavior of not emitting color change commands
if we cache the "last_color_emitted". We would only emit a new color
change command when the desired color differs. (We can init that
variable to black if we want to ensure no color change commands in the
output for the B&W case).

-- 
Peter Clifton

Electrical Engineering Division,
Engineering Department,
University of Cambridge,
9, JJ Thomson Avenue,
Cambridge
CB3 0FA

Tel: +44 (0)7729 980173 - (No signal in the lab!)



_______________________________________________
geda-dev mailing list
[email protected]
http://www.seul.org/cgi-bin/mailman/listinfo/geda-dev

Reply via email to