Bug 97091

Summary: FILEOPEN: particular .svg (exported from .odg) renders text invisible importing
Product: LibreOffice Reporter: Chris Peñalver <chris>
Component: DrawAssignee: Not Assigned <libreoffice-bugs>
Status: RESOLVED DUPLICATE    
Severity: minor CC: vsfoote
Priority: medium    
Version: 5.0.2.2 release   
Hardware: All   
OS: All   
URL: https://bugs.launchpad.net/ubuntu/+source/libreoffice/+bug/138141
Whiteboard:
Crash report or crash signature: Regression By:
Bug Depends on:    
Bug Blocks: 88277    
Attachments: p0p1p2.odg

Description Chris Peñalver 2016-01-13 05:47:15 UTC
Created attachment 121893 [details]
p0p1p2.odg

Downstream bug may be found at:
https://bugs.launchpad.net/ubuntu/+source/libreoffice/+bug/138141

OOo bug may be found at:
http://openoffice.org/bugzilla/show_bug.cgi?id=52605

apt-cache policy libreoffice-draw
libreoffice-draw:
  Installed: 1:5.0.2-0ubuntu1
  Candidate: 1:5.0.2-0ubuntu1
  Version table:
 *** 1:5.0.2-0ubuntu1 0
        500 http://us.archive.ubuntu.com/ubuntu/ wily/main amd64 Packages
        100 /var/lib/dpkg/status

What is expected to happen in Draw via a terminal:
cd ~/Desktop && wget https://bugs.launchpad.net/ubuntu/+source/openoffice.org/+bug/138141/+attachment/2144240/+files/p0p1p2.odg

open the file > export to svg > open the svg in Draw and the two files should look the same.

What happen instead is the text is gone in the p0p1p2.svg file. The problem is that in the svg file the 'fill' attribute of the text is set to 'none' while it should have the color of the text.

WORKAROUND: replace fill:none with fill:#000000 in the xml code of the svg file and text will be rendered black. Until bug is solved, users can do this with a replace all command in a text editor.
Comment 1 V Stuart Foote 2016-06-26 03:33:22 UTC
No issue with export to SVG filter, issue with SVG import filter. Workaround would have been using the svgio filter using Insert -> Image

Resolved with bug 32248.

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

tdf#32248 SVG: first attempt to support tspan elements

It will be available in 5.2.0.

*** This bug has been marked as a duplicate of bug 32248 ***