Upgrade vtkGL2PSExporter to include SVG output format
This issue was created automatically from an original Mantis Issue. Further discussion may take place here.
Upgrade VTK/Utilities/gl2ps to version 1.3.1 . It needs a small edit to include the vtk_png lib (same as the vtk_zlib edit). Cmake file has to be changed to include the GL2PS_HAVE_PNG preprocessor definition.
I've included a patch for the changes to the vtk class.
The SVG output file can be viewed with Internet Explorer with Adobe's SVG plugin installed or Firefox 1.5. Inkscape has no problems editting the svg file either.
Firefox can't read a compressed svg from a local file system so compression should be switched off to output a pure ascii file. It's on be default.