[BZ#767204] xlinked image not rendered with rsvg_handle_write()
Submitted by Franz
Link to original bug (#767204)
Description
Created attachment 329059 SVG file with xlinked image
Note: This used to work prior to 2.40, so it seems to be a regression.
The attached SVG file (Smiley.svg) with xlinked image (smiley.png) renders correctly when rsvg_pixbuf_from_file() is used:
rsvg-convert -f pdf -o Smiley.pdf Smiley.svg
The xlinked image does not render when rsvg_handle_write() is used; other elements in the SVG file (text, graphics, etc.) do render however:
cat Smiley.svg | rsvg-convert -f pdf -o Smiley.pdf -
Note: Bug occurs irrespective of output format.
Note: Change xlink path to appropriate dir to reproduce.
Verified using librsvg2-bin 2.40.2-1 on Ubuntu 14.04 LTS.