Text inside <tspan></tspan> svg element does not painting when generating png files.
Demo:
https://commons.wikimedia.org/wiki/File:Voronoi_diagram_with_two_points.svg
Text inside <tspan></tspan> svg element does not painting when generating png files.
Demo:
https://commons.wikimedia.org/wiki/File:Voronoi_diagram_with_two_points.svg
I've analysed this file, it seems simply librsvg not support style="font-size: smaller" and font-size="smaller".
Looking at https://bugzilla.gnome.org/page.cgi?id=browse.html&product=librsvg I could not find a dedicated ticket - if this is an upstream issue, do you plan to upstream it?
If I get this correctly, it's not implemented in upstream, see:
https://git.gnome.org/browse/librsvg/tree/rsvg-css.c#n152
https://git.gnome.org/browse/librsvg/tree/rsvg-css.c#n200
https://git.gnome.org/browse/librsvg/tree/rsvg-css.c#n259
Thats it, thanks for taking a look in the code (so I change the task desc.). And yes I'll do it. (It would be even less noticeable when the text would not entirely disappear.)
For anyone trying to reproduce this; the SVG linked in the task description has been changed to no longer use font-size="smaller", so it renders fine, but the underlying bug in librsvg is not addressed yet.