[Paraview] exporting selection labels to an SVG as editable/movable text-objects
David Lonie
david.lonie at kitware.com
Thu Jun 5 09:40:23 EDT 2014
Hi Roman,
Aha, the cube axis actors are still using vtkVectorText to render the text.
vtkVectorText is a text source that produces polydata to forms the
characters of the text string, and the actual text information is lost by
the time the SVG exporter processes the actors.
There was an effort in VTK to convert the cube axes to use vtkTextActor3D,
which would allow proper text exporting, but this is disabled in ParaView,
and I believe it is only experimental at this point. So unfortunately, this
is the best it gets for that particular text source at the moment.
Sorry for the misinformation earlier -- I thought you were referring to a
ParaView text source, which should export as editable text.
Dave
On Thu, Jun 5, 2014 at 8:57 AM, Dr. Roman Grothausmann <
grothausmann.roman at mh-hannover.de> wrote:
> Hi Dave,
>
>
> Many thanks for Your reply. I tried this option, neither disabling nor
> enabling "Render text as paths" creates an SVG with editable text for me
> with paraview 4.1.0. See e.g. attached SVGs which show simply a cone where
> I enabled "Show Axis". Opening theses with inkscape reveals that in both
> cases the text consist of triangles and not of text objects.
> Any idea what I could be doing wrong?
>
> Many thanks for looking into this.
> Roman
>
> On 22/05/14 14:11, David Lonie wrote:
>
>> Hi Roman,
>>
>> 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.
>>
>> Hope this helps,
>> Dave
>>
>>
> --
> 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
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://www.paraview.org/pipermail/paraview/attachments/20140605/235db27d/attachment.html>
More information about the ParaView
mailing list