Bug 62834 - exporting embedded EMF file as SVG causes mangled svg.
Summary: exporting embedded EMF file as SVG causes mangled svg.
Status: RESOLVED FIXED
Alias: None
Product: LibreOffice
Classification: Unclassified
Component: graphics stack (show other bugs)
Version:
(earliest affected)
4.0.1.1 rc
Hardware: Other All
: medium normal
Assignee: Not Assigned
URL:
Whiteboard: target:4.1.0 target:4.0.4
Keywords:
Depends on:
Blocks:
 
Reported: 2013-03-27 19:35 UTC by Michael Meeks
Modified: 2013-04-25 13:00 UTC (History)
1 user (show)

See Also:
Crash report or crash signature:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Michael Meeks 2013-03-27 19:35:45 UTC
The EMF here:

https://bugs.freedesktop.org/attachment.cgi?id=77121

when exported as svg produces svg like this:

<tspan class="TextPosition" x="1055" y="5007">
<tspan font-family="Arial, sans-serif" font-size="217px" font-weight="400" fill="rgb(0,0,0)" stroke="none">   Organizacija=11070001 (PRESS SLUZBA) </tspan></tspan>
       </g>
      </g>
     </g>
    </g>
   </g>
  </g>
 </svg></tspan>

That's not optimal :-)
Comment 1 Michael Meeks 2013-03-27 19:37:36 UTC
fixed in master :-)
Comment 2 Commit Notification 2013-03-27 19:42:22 UTC
Michael Meeks committed a patch related to this issue.
It has been pushed to "master":

http://cgit.freedesktop.org/libreoffice/core/commit/?id=f9018f92e8a7d234d4f472c9d243526ecc5352de

fdo#62834 - svg export: close stray trailing tspans if we have them.



The patch should be included in the daily builds available at
http://dev-builds.libreoffice.org/daily/ in the next 24-48 hours. More
information about daily builds can be found at:
http://wiki.documentfoundation.org/Testing_Daily_Builds
Affected users are encouraged to test the fix and report feedback.
Comment 3 Commit Notification 2013-04-25 13:00:22 UTC
Michael Meeks committed a patch related to this issue.
It has been pushed to "libreoffice-4-0":

http://cgit.freedesktop.org/libreoffice/core/commit/?id=f98d8baa449d922e4cc5bcee97c9ee1733b0f65d&h=libreoffice-4-0

fdo#62834 - svg export: close stray trailing tspans if we have them.


It will be available in LibreOffice 4.0.4.

The patch should be included in the daily builds available at
http://dev-builds.libreoffice.org/daily/ in the next 24-48 hours. More
information about daily builds can be found at:
http://wiki.documentfoundation.org/Testing_Daily_Builds
Affected users are encouraged to test the fix and report feedback.