GNOME Bugzilla – Bug 684624
[rsvg-convert] Linked images aren't being rendered
Last modified: 2017-12-13 17:55:37 UTC
Created attachment 224979 [details] A minimal test file I created. Image is random internet test image. I cannot get a linked image to render using rsvg-convert despite rendering correctly in a browser and in Inkscape. I have tried file:// and http:// but neither work. On further testing I realised that rsvg-convert isn't rendering examples created by Inkscape either. However, embedding an image works. I have only tested this on a Mac: (OSX 10.8.2). rsvg-convert version 2.36.3
Created attachment 224980 [details] This is a minimal image created in Inkscape exhibiting the same problem.
Comment on attachment 224979 [details] A minimal test file I created. Image is random internet test image. Wrong image uploaded, sorry
Created attachment 224981 [details] Minimal svg with local image link
Created attachment 224982 [details] Minimal svg with http link
The 'local image link' case works here (replacing the link with an existing local file, of course); rsvg 2.36.3 on fedora 17. The 'http image link' case not working when loading the svg from a local file is not working; however I think this can be said to be a security feature.
Thanks. Must be a Mac thing then I suppose. Did you use link:href="file://filename" or are you able to like straight with link:href="filename" ?
Either works.
Would you expect rsvg-format to produce a warning or an error in a circumstance like this? Is there a hidden debug/verbose option?
No, ressource errors are ignored silently. There's no debug option.
I've just tested rsvg-convert version 2.26.2 on Linux version 2.6.32.21-mthunk-mb1 (root@shedu) (gcc version 4.1.2 20061115 (prerelease) (Debian 4.1.1-21)) #1 SMP Fri Sep 17 12:27:27 BST 2010 Same problems with images.
-- 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/66.