color print always has black background

Bug #698611 reported by DJ Delorie
8
This bug affects 1 person
Affects Status Importance Assigned to Milestone
gEDA
Invalid
Medium
Unassigned

Bug Description

In libgeda/src/f_print.c look for "print_color_background". The page is unconditionally filled with color (bad) and that color is always black (worse). In my sources, I removed that whole chunk of code (leaving a white page as a starting point) and it works "correctly" for me.

Peter TB Brett (peter-b)
tags: added: libgeda
Peter TB Brett (peter-b)
tags: added: printing
Peter TB Brett (peter-b)
Changed in geda:
status: New → In Progress
importance: Undecided → Medium
assignee: nobody → Peter TB Brett (peter-b)
Revision history for this message
Peter TB Brett (peter-b) wrote :

Although the code may have changed since this bug was submitted, the background is not "always black" and the page is not "unconditionally filled with color". I have just carefully tested this.

For historical reasons, the 'background' colour map entry is not used when printing; the 'output-background' colour map entry is used instead.

To enable printing in colour, add to your gschemrc file:

  (output-color "enabled")

If you want to change the colour used as a background when printing, add to your gschemrc file:

  (print-color-map '((output-background "#aabbcc")))

where #aabbcc is the 24 bit hexadecimal colour you wish to use (same as in HTML).

If you want to disable printing a background colour entirely:

  (print-color-map '((output-background #f)))

I agree that the default behaviour is confusing. I am going to change the default colour map for colour printing to the light background, which will hopefully be less likely to violate the principle of least surprise.

Changed in geda:
assignee: Peter TB Brett (peter-b) → nobody
status: In Progress → Invalid
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.