Feature Request: Convert tspan to text elements for SVG tiny
Bug #401628 reported by
Andreas Neumann
This bug affects 1 person
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
Scour |
Confirmed
|
Medium
|
codedread |
Bug Description
Hi Jeff,
I am using the qtsoftware SVG renderer to display Inkscape generated SVG content. I am using your scour tool to clean up the Inkscape files before importing.
Unfortunately, qtsoftware is a SVG tiny renderer and thus cannot use positional attributes within tspan elements, which Inkscape is using quite a lot for multiline text.
I wonder if there could be a SVG scour option to convert tspan elements into regular text elements that a SVG tiny renderer could display.
I currently do this manually by converting the parent text elements to a g (group) element that holds all the text-related attributes, then I convert all the tspan elements to text elements.
To post a comment you must log in.
Converting the parent text into a group seems like a much better solution than what I was thinking (just make the tspans into text elements).