Created attachment 98387 [details]
PyGal generated chart, SVG test file
I'm generating charts using the PyGal library which can be found here:
I like the ability to build scalable images that can work in both LibreOffice and the web. Unfortunately, LibreOffice is failing to display the charts I generate.
When I insert a PyGal generated SVG image (in either calc or write), I get just a black box. If I instead open the SVG in inkscape, the chart looks fine. From inkscape I can then save the image as "Plain SVG" in a second file, and then LibreOffice can handle the output of that.
I'm attaching 3 files:
- A PyGal generated SVG
- The Inkscape converted version of the SVG
- A screenshot of what both versions of the SVG look like in calc file
Note that I have tested for this issue in several recent versions of LibreOffice. It exists in all.
Created attachment 98388 [details]
Inkscape converted to "Plain SVG"
Created attachment 98389 [details]
Both files inserted into a document (PyGal's first, InkScape's second)
Download SVG test file. Insert SVG into writer > black box.
Confirmed -> NEW with LO 22.214.171.124 on OSX 10.10, thus OS -> ALL.
The problem is that SVG filter doesn't support styles defined inside <style type="text/css">
*** This bug has been marked as a duplicate of bug 94765 ***
Not a dupe of bug 94765