[Paraview] exporting selection labels to an SVG as editable/movable text-objects

Dr. Roman Grothausmann grothausmann.roman at mh-hannover.de
Fri Jan 23 05:44:31 EST 2015


Hi Dave,


Again some issues concerning this old topic:
On 22/05/14 14:11, David Lonie wrote:
> On Thu, May 22, 2014 at 6:22 AM, Dr. Roman Grothausmann
> <grothausmann.roman at mh-hannover.de> wrote:
>> Many thanks for fixing the Label exporter issue. It does work with 4.1 to
>> get the text exported into e.g. an SVG. However, the text is always rendered
>> as paths (always consists of triangles). Is it also possible to have the
>> text being exported as actual text-fields (like e.g. gnuplot does) that can
>> be edited with the text-tool in e.g. inkscape?
>
> There is an checkbox in the export options "Render text as paths" (see
> http://www.kitware.com/blog/home/post/508 ). It's enabled by default
> for portability, but disabling this option should do what you need.

Exporting selection labels as text ("Render text as paths" not checked) works 
for me with PV-4.1.0. However, PV-4.1.0 does not allow one to specify the 
formatting, like printf formats as: %.2f\circ.
PV-4.3.1 does allow one to specify the formatting, however whether "Render text 
as paths" is checked or not, the output SVG does not contain any text-tags any 
more, that would allow editing in inkscape or text setting by latex.

Did Your changes get lost/reverted?

I tried to find the commits that made it possible for PV-4.1 but could not find 
them in the git logs:
http://www.paraview.org/gitweb?p=ParaView.git&a=search&h=HEAD&st=commit&s=gl2ps
It seems the bug number 14231 was never mentioned in the commit messages.

What is the general procedure to find the right commits in such a case?

Many thanks for looking into this.
Roman

-- 
Dr. Roman Grothausmann

Tomographie und Digitale Bildverarbeitung
Tomography and Digital Image Analysis

Institut für Funktionelle und Angewandte Anatomie, OE 4120
Medizinische Hochschule Hannover
Carl-Neuberg-Str. 1
D-30625 Hannover

Tel. +49 511 532-9574


More information about the ParaView mailing list