After an evaluation, GNOME has moved from Bugzilla to GitLab. Learn more about GitLab.
No new issues can be reported in GNOME Bugzilla anymore.
To report an issue in a GNOME project, go to GNOME GitLab.
Do not go to GNOME Gitlab for: Bluefish, Doxygen, GnuCash, GStreamer, java-gnome, LDTP, NetworkManager, Tomboy.
Bug 767204 - xlinked image not rendered with rsvg_handle_write()
xlinked image not rendered with rsvg_handle_write()
Status: RESOLVED OBSOLETE
Product: librsvg
Classification: Core
Component: general
2.40.x
Other Linux
: Normal normal
: ---
Assigned To: librsvg maintainers
librsvg maintainers
Depends on:
Blocks:
 
 
Reported: 2016-06-03 15:58 UTC by Franz
Modified: 2017-12-13 18:19 UTC
See Also:
GNOME target: ---
GNOME version: ---


Attachments
SVG file with xlinked image (2.49 KB, image/svg+xml)
2016-06-03 15:58 UTC, Franz
Details
image xlinked in Smiley.svg (26.95 KB, image/png)
2016-06-03 16:01 UTC, Franz
Details

Description Franz 2016-06-03 15:58:43 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.
Comment 1 Franz 2016-06-03 16:01:12 UTC
Created attachment 329060 [details]
image xlinked in Smiley.svg
Comment 2 Franz 2016-06-03 16:04:25 UTC
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)
Comment 3 GNOME Infrastructure Team 2017-12-13 18:19:21 UTC
-- 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.