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

Reply via email to