Feature Request: Convert tspan to text elements for SVG tiny

Bug #401628 reported by Andreas Neumann
6
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.

Tags: svgtiny text
Revision history for this message
codedread (codedread) wrote :

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).

Changed in scour:
assignee: nobody → codedread (codedread)
importance: Undecided → Medium
status: New → Confirmed
Revision history for this message
Perhelion (arachnovobia) wrote :

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.

To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.