GNOME Bugzilla – Bug 613672
rsvg_handle_render_cairo() does not consider clipping region
Last modified: 2017-12-13 17:37:43 UTC
Created attachment 156844 [details] [review] A patch rsvg_handle_render_cairo() does not consider clipping region even if the target surface size is smaller than svg image.
Found a little glitch using this patch with your SVG rendering patch for eog. Check this image: attachment 156844 [details] [review] (bug 615356) Load it up in a patched eog, zoom in and watch the shadow of the high res dia. It seems to get some carvings. With a stock librsvg it renders correctly (although extremely slow).
(In reply to comment #1) > Found a little glitch using this patch with your SVG rendering patch for eog. > > Check this image: attachment 156844 [details] [review] (bug 615356) Actually it's attachment 158377 [details]. :)
Confirmed. It is caused by Gaussian blur effect. Gaussian blur seeps out of the target image region, so if the region is clipped, the result image of blur looks like cutting off its edge. Should figure out blur effect area.
Comment on attachment 156844 [details] [review] A patch as per comment #1.
(In reply to comment #1) > With a stock librsvg it renders correctly (although extremely slow). The image uses some filters, so a patch for bug #614556 makes it bit faster.
-- 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/35.