scour
scour copied to clipboard
Feature Request: Convert tspan to text elements for SVG tiny
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.
Imported from Launchpad using lp2gh.
- date created: 2009-07-20T09:10:02Z
- owner: a-neumann
- assignee: codedread
- the launchpad url was https://bugs.launchpad.net/bugs/401628
(by codedread) 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).
(by arachnovobia) There is another Bug: Scour makes group tags in text tags between span tags, so for example some renders can't display this text, like librsvg.