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 613672 - rsvg_handle_render_cairo() does not consider clipping region
rsvg_handle_render_cairo() does not consider clipping region
Status: RESOLVED OBSOLETE
Product: librsvg
Classification: Core
Component: general
unspecified
Other All
: Normal normal
: ---
Assigned To: librsvg maintainers
librsvg maintainers
Depends on:
Blocks:
 
 
Reported: 2010-03-23 10:41 UTC by Hiroyuki Ikezoe
Modified: 2017-12-13 17:37 UTC
See Also:
GNOME target: ---
GNOME version: ---


Attachments
A patch (2.98 KB, patch)
2010-03-23 10:41 UTC, Hiroyuki Ikezoe
needs-work Details | Review

Description Hiroyuki Ikezoe 2010-03-23 10:41:34 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.
Comment 1 Felix Riemann 2010-04-14 19:04:31 UTC
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).
Comment 2 Felix Riemann 2010-04-14 19:05:13 UTC
(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]. :)
Comment 3 Hiroyuki Ikezoe 2010-04-14 22:11:14 UTC
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 4 Hiroyuki Ikezoe 2010-04-14 22:11:31 UTC
Comment on attachment 156844 [details] [review]
A patch

as per comment #1.
Comment 5 Hiroyuki Ikezoe 2010-04-14 22:13:41 UTC
(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.
Comment 6 GNOME Infrastructure Team 2017-12-13 17:37:43 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/35.