BATIK-1112 means text in most SVG from Inkscape are misrendered

Oskar Berggren <[email protected]> Tue, 10 Sep 2019 18:11:30 +0100
Newsgroups gmane.text.xml.batik.devel
Message-ID <CAHOuc7PL0+e-8H5Ahagm5q7ChSk=X6zsFMgs8gwot5-gHONKJQ@mail.gmail.com>
--000000000000825a9d059235ff39
Content-Type: text/plain; charset="UTF-8"

Hi,

Regarding:
https://issues.apache.org/jira/browse/BATIK-1112

Inkscape is prone to insert this in the style attribute of text nodes:
-inkscape-font-specification:'sans-serif, Normal'

Because of BATIK-1112, any style attribute that comes after the dash-prefix
attribute is ignored and the SVG is therefore not rendered correctly.

This issue, open since 2015, means that any SVG created with Inkscape has a
high risk of not being rendered correctly.

I believe this issue is more important than "minor".

However, there is a patch available in the issue that looks small and
self-contained.

Can someone please apply it, or explain if there is any flaw with the patch?

Kind regards,
Oskar

--000000000000825a9d059235ff39
Content-Type: text/html; charset="UTF-8"
Content-Transfer-Encoding: quoted-printable

<div dir=3D"ltr"><div>Hi,</div><div><br></div><div>Regarding:<br></div><div=
><a href=3D"https://issues.apache.org/jira/browse/BATIK-1112">https://issue=
s.apache.org/jira/browse/BATIK-1112</a></div><div><br></div><div>Inkscape i=
s prone to insert this in the style attribute of text nodes:<br></div><div>=
-inkscape-font-specification:&#39;sans-serif, Normal&#39;</div><div><br></d=
iv><div>Because of BATIK-1112, any style attribute that comes after the das=
h-prefix attribute is ignored and the SVG is therefore not rendered correct=
ly.</div><div><br></div><div>This issue, open since 2015, means that any SV=
G created with Inkscape has a high risk of not being rendered correctly.</d=
iv><div><br></div><div>I believe this issue is more important than &quot;mi=
nor&quot;.</div><div><br></div><div>However, there is a patch available in =
the issue that looks small and self-contained.</div><div><br></div><div>Can=
 someone please apply it, or explain if there is any flaw with the patch?</=
div><div><br></div><div>Kind regards,</div><div>Oskar</div><div><br></div><=
div><br></div></div>

--000000000000825a9d059235ff39--