GNOME Bugzilla – Bug 767204
xlinked image not rendered with rsvg_handle_write()
Last modified: 2017-12-13 18:19:21 UTC
Created attachment 329059 [details] 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.
Created attachment 329060 [details] image xlinked in Smiley.svg
Correct rsvg-convert syntax to reproduce is: cat Smiley.svg | rsvg-convert -f pdf -o Smiley.pdf (Note: No trailing dash to read from STDIN)
-- GitLab Migration Automatic Message -- This bug has been migrated to GNOME's GitLab instance and has been closed from further activity. You can subscribe and participate further through the new bug through this link to our GitLab instance: https://gitlab.gnome.org/GNOME/librsvg/issues/144.