Convert-to-Text sometimes doesn't produce correct SVG
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
Inkscape |
Fix Released
|
Undecided
|
Unassigned |
Bug Description
To reproduce (tested with SVN revision 19261, on Windows XP):
(1) Open the attached file (flowtext.svg).
(2) Select the flowed text and convert it to ordinary text (Text -> Convert to Text).
(3) Save the file (as Inkscape SVG).
(4) View the saved file in a reliable SVG viewer, such as Batik Squiggle, or Adobe SVG Viewer. You will see that the lines overprint one another. (If you examine the file, you will see that y-coordinates aren't specified for any line other than the first.)
The problem doesn't occur for all flowed text. It seems to occur only when there is no transform on the text. Looking at the source code (SPFlowtext:
The attached patch fixes this bug. But what's all that code I hacked out?