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.


On 25 October 2016 at 13:40, Stefan Tauner <tauner@...3436...> wrote:

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.

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

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!
Inkscape-devel mailing list