[gl2ps] Patches/VTK Integration
Christophe Geuzaine
cgeuzaine at ulg.ac.be
Mon Oct 1 22:40:18 CEST 2012
Hi David - Thanks for the patches. The only small issue is with gl2psTextOpt, which would break compatibility with previous versions. Should we create another function with a new name?
Christophe
On 01 Oct 2012, at 21:13, David Lonie <david.lonie at kitware.com> wrote:
> Hi list,
>
> I've been working on the gl2ps exporter in VTK, and I've had to make a
> couple of changes to the gl2ps sources. We'd like to see these merged
> upstream so that VTK/ParaView will be able to link against system-wide
> GL2PS installations in the future.
>
> I've attached three diffs, each containing a change:
>
> * color.diff
> Add option to gl2psTextOpts to explicitly set the color. We ran into
> issues on certain implementations where the GL_CURRENT_RASTER_COLOR
> wasn't preserved in feedback mode as expected (See my previous post:
> http://www.geuz.org/pipermail/gl2ps/2012/000348.html and ref'd
> http://www.groupsrv.com/computers/about128565.html ).
> * getFileFormat.diff
> Adds a gl2psGetFileFormat() function to the API. This makes it easier
> to generate raw output for gl2psSpecial calls.
> * gl2psSpecialPDF.diff
> Adds an implementation of the gl2psSpecial command for the PDF backend.
>
> Please let me know if these can be merged upstream as-is, or if there
> is any improvement they need.
>
> Thanks,
>
> Dave
> <color.diff><getFileFormat.diff><gl2psSpecialPDF.diff>_______________________________________________
> gl2ps mailing list
> gl2ps at geuz.org
> http://www.geuz.org/mailman/listinfo/gl2ps
--
Prof. Christophe Geuzaine
University of Liege, Electrical Engineering and Computer Science
http://www.montefiore.ulg.ac.be/~geuzaine