Bug#1086987: librsvg2-2: renders Debian logo-text.svg from desktop-base 13.0.0~pre1 as blank

Simon McVittie smcv at debian.org
Thu Nov 7 17:57:39 GMT 2024


Package: librsvg2-2
Version: 2.59.1+dfsg-1
Severity: normal
Control: affects -1 src:desktop-base

To reproduce, with the attached SVG files:

rsvg-convert -o bad-rsvg.png -h 256 bad.svg
inkscape -o bad-inkscape.png -h 256 bad.svg
rsvg-convert -o good-rsvg.png -h 256 good.svg
inkscape -o good-inkscape.png -h 256 good.svg

Expected result: all four output files are visually indistinguishable
(or at least very similar).

Actual result: bad-rsvg.png is blank.

For context, bad.svg is the logo-text.svg provided by desktop-base
13.0.0~pre1, and good.svg is a version of it that I redid by copying and
adjusting desktop-base's logo-text-version.svg to omit the version.

Viewing the SVGs in eog (which uses librsvg via gdk-pixbuf) produces
results that are consistent with rsvg-convert.

I don't know specifically what it is about bad.svg that confuses librsvg,
but the (text) diff between the two is not particularly big, so perhaps
someone could try to find a minimizing reproducer? (Sorry, I have already
spent more time on this than I should, and I don't know Rust to be able
to investigate in the librsvg code.)

    smcv
-------------- next part --------------
A non-text attachment was scrubbed...
Name: bad.svg
Type: image/svg+xml
Size: 11265 bytes
Desc: not available
URL: <http://alioth-lists.debian.net/pipermail/pkg-gnome-maintainers/attachments/20241107/a7b9314b/attachment-0002.svg>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: good.svg
Type: image/svg+xml
Size: 11918 bytes
Desc: not available
URL: <http://alioth-lists.debian.net/pipermail/pkg-gnome-maintainers/attachments/20241107/a7b9314b/attachment-0003.svg>


More information about the pkg-gnome-maintainers mailing list