preparation for colour printing

Salvador Cuñat salvador.cunat at gmail.com
Sat Mar 2 04:24:00 PST 2013


On Wed, Feb 27, 2013 at 10:48:43AM -0800, Dirk Hohndel wrote:
> Amit Chaudhuri <amit.k.chaudhuri at gmail.com> writes:
> 
> > Hi,
> >
> > this patch adds a 3rd column to the media array of rgba so we now have one
> > each for screen, b/w & colour printing.  I have defaulted to using the same
> > colour printing & screen, but this can be altered anytime.
> >
> > I have checked that the application still compiles and prints.  The print
> > out (colour option selected) shows the deco ceiling steps in pink but
> > everything else appears grey scale.  Further work will be required to apply
> > the colours to the print out, although I'm not yet sure what that involves.
> 
> I just pushed this patch out. What it is missing is hooking things up in
> print.c. Right now we simply set gc.printer to 1 there, instead we need
> to be able to chose 1 or 2, depending on whether the user wants bw or
> color printing.
> 

Hi.

Attached is a patch which puts to work the colour printing.

There're some colours missed in my prints, which are plotted in white,
so they are visible (or not) depending on the colour of the background.
This includes the depth/time grid and the gas consumption line as most
obvius, but there can be more which are invisibles.

Regards

Salva.
-------------- next part --------------
A non-text attachment was scrubbed...
Name: Add-colour-to-the-printout.patch
Type: text/x-diff
Size: 5637 bytes
Desc: not available
URL: <http://lists.hohndel.org/pipermail/subsurface/attachments/20130302/eb6828bd/attachment.patch>


More information about the subsurface mailing list