GNOME Bugzilla – Bug 761175
Masking need to be able to use an object that is being referenced by <use>
Last modified: 2018-03-28 18:10:42 UTC
Created attachment 319831 [details] Incorrectly rendered SVG file The attached SVG file renders incorrectly from commit 3ae509 onwards.
May I include that example file in the librsvg soure code as a test? I think I have a fix for this.
Sure!
(In reply to Federico Mena Quintero from comment #1) > May I include that example file in the librsvg soure code as a test? I > think I have a fix for this. May I ask if there is already an update for that issue checked in?
Not yet. I will report here when it is done.
Created attachment 364776 [details] [review] librsvg-761175-recursive-masks.patch Could you please test this patch?
> Could you please test this patch? thank you. I will ask Sandro as he has the exact test environment. We will reply soon.
Looks good, thanks!
Thanks for confirming; I'll push this. Expect a release soon :)
Pushed to librsvg-2.40 and master: librsvg-2.40: fe5711c8785a4ef3582752e2109e54440102c702 master: 6feb907439f298c7c5f39c422bd9ab8edf6ce6c8
We noticed that the newest https://www.gtk.org downloads still work with unpatched versions for this bug. Is there a chance to fix the issue in all the currently active branches?
The fix in question is in librsvg 2.40.20; you can use that version. That branch is not maintained anymore; that last tarball is usable by people who can't use the Rust version. The only supported branch currently is the librsvg-2.42 series. GTK+ still works with the old one because the librsvg API/ABI has not changed at all. GTK+ doesn't actually enforce librsvg to be installed; it just assumes that it is, and that the SVG pixbuf loader is available as a result.