Regression of eog and rsvg-convert. No longer renders SVG containing xlink to png

Bug #1299267 reported by Finnian Reilly
20
This bug affects 4 people
Affects Status Importance Assigned to Milestone
librsvg (Ubuntu)
Confirmed
Undecided
Unassigned

Bug Description

Ubuntu Quantal

I recently did a package update and found that it broke the utility 'rsvg-convert' in package librsvg2-bin. It is now no longer able to render an SVG file containing an embedded png in the xlink tag. An application I am developing, depends on the librsvg2 library, so I noticed this immediately.

Specifically the problem is with the security upgrade from version 2.36.3-0ubuntu1 to version 2.36.3-0ubuntu1.1 of librsvg2 and associated packages.

Extract from /var/log/apt/history.log:

librsvg2-bin:amd64 (2.36.3-0ubuntu1, 2.36.3-0ubuntu1.1)
librsvg2-common:amd64 (2.36.3-0ubuntu1, 2.36.3-0ubuntu1.1)
librsvg2-common:i386 (2.36.3-0ubuntu1, 2.36.3-0ubuntu1.1)
librsvg2-dev:amd64 (2.36.3-0ubuntu1, 2.36.3-0ubuntu1.1)
librsvg2-doc:amd64 (2.36.3-0ubuntu1, 2.36.3-0ubuntu1.1)

TO REPRODUCE:

Example of command that fails to render png image:
   rsvg-convert -f png --background-color cyan banner.svg > cyan-banner.png

(See attached file)

I expect to see this transparent png rendered with a cyan background, instead what I see is just a cyan background with no image.

The problem went away after I downgraded to the prior version of librsvg using dpkg

OTHER AFFECTED APPLICATIONS:
the eog image-viewer (Eye of Gnome)

Revision history for this message
Finnian Reilly (finnian-z) wrote :

I have attached an example SVG to illustrate the problem

description: updated
Revision history for this message
Finnian Reilly (finnian-z) wrote :
description: updated
description: updated
description: updated
description: updated
description: updated
tags: added: eog
tags: added: rsvg2
tags: added: librsvg2 rsvg-convert
removed: rsvg2
Revision history for this message
Wes (wessjunk) wrote :

This is affecting me also. In my case it is no longer able to render an SVG file containing an embedded SVG in the xlink tag.

Revision history for this message
Launchpad Janitor (janitor) wrote :

Status changed to 'Confirmed' because the bug affects multiple users.

Changed in librsvg (Ubuntu):
status: New → Confirmed
Revision history for this message
b-ob (b-ob) wrote :

It's affecting all types of images: PNG and SVG, as noted above, but also JPEG and PNM.

To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.