The problem is not with "Convert CSS attributes to XML attributes" specifically, but with the "Create groups for similar attributes". The exporter script is inserting a <g> inside a <text>, which is invalid and should not render in a conforming SVG implementation. It's an error that Inkscape renders the nested <tspan>, although not one that would usually be a problem! The exporter script either needs to use another <tspan> for the grouping or just skip grouping within a <text> element altogether.
~ABR
On 25 October 2016 at 13:40, Stefan Tauner <tauner@...3436...> wrote:
Hi,
I have tried to submit a bug report via launchpad multiple times during the day but it seems to not like me today, thus I am submitting it via the ML.
When I save an optimized .svg with the option "Convert CSS attributes to XML attributes" enabled with Inkscape 0.91 (Ubuntu 16.04), any application that I have tested but Inkscape do not display some parts of an image with the resulting file. I managed to create a MWE that should be handy enough for a successful analysis.
Attached you can find the original Inkscape .svg and two optimized .svg files created with the CSS option turned on and off respectively. When the option is off then all applications render the dot fine, when it is on only Inkscape recognizes it.
KR
Dipl.-Ing. Stefan Tauner Research and Development Embedded Systems Department
University of Applied Sciences Technikum Wien Hoechstaedtplatz 6, 1200 Vienna, Austria T: +43 1 333 40 77-316 E: stefan.tauner@...3436... I: embsys.technikum-wien.at I: www.technikum-wien.at
The Command Line: Reinvented for Modern Developers Did the resurgence of CLI tooling catch you by surprise? Reconnect with the command line and become more productive. Learn the new .NET and ASP.NET CLI. Get your free copy! http://sdm.link/telerik _______________________________________________ Inkscape-devel mailing list Inkscape-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/inkscape-devel