[gl2ps] Color in new postscript viewports

Pantxo Diribarne pantxo.diribarne at gmail.com
Fri Jun 10 17:05:53 CEST 2016


Hi,

We identified a bug in gl2ps, from a bug in Octave [1], which is solved 
by the attached path.
Basically gl2ps changes the current color in poscript terminal if the 
color of the current object is different from the previous one. The 
problem is that after initialization of a new viewport, the current 
color is white, regardless of the last object color.

Thanks,

Pantxo

[1] http://savannah.gnu.org/bugs/?48148
-------------- next part --------------
A non-text attachment was scrubbed...
Name: reset_ps_color.diff
Type: text/x-patch
Size: 298 bytes
Desc: not available
URL: <http://www.geuz.org/pipermail/gl2ps/attachments/20160610/44323a84/attachment.diff>