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 333118 - Overflow style has no effect for markers
Overflow style has no effect for markers
Status: RESOLVED FIXED
Product: librsvg
Classification: Core
Component: general
2.14.x
Other All
: Normal normal
: ---
Assigned To: librsvg maintainers
librsvg maintainers
Depends on:
Blocks:
 
 
Reported: 2006-03-02 12:03 UTC by Gustav Broberg
Modified: 2007-08-31 23:09 UTC
See Also:
GNOME target: ---
GNOME version: ---


Attachments
marker-test.svg, testcase: two markers, one with visible and one with hidden overflow (991 bytes, image/svg+xml)
2006-03-02 12:05 UTC, Gustav Broberg
Details
marker-test-librsvg.png, librsvg output of marker-test.svg (782 bytes, image/png)
2006-03-02 12:06 UTC, Gustav Broberg
Details
marker-test-batik.png, batik output of marker-test.svg (reference) (804 bytes, image/png)
2006-03-02 12:08 UTC, Gustav Broberg
Details

Description Gustav Broberg 2006-03-02 12:03:17 UTC
Please describe the problem:
According to http://www.w3.org/TR/2002/CR-SVG11-20020430/painting.html#Markers,
setting style="overflow:(visible|hidden|scroll|auto|inherit)" for a marker
should affect if clipping should occur outside the marker tile (limited by
markerWidth, markerHeight). In the librsvg implementation, however, it seems
like clipping occurs even if style="overflow:visible" is set.

Steps to reproduce:
1. rsvg-convert marker-test.svg > marker-test-librsvg.png

Actual results:
See attached librsvg output.

Expected results:
See attached batik output.

Does this happen every time?
Yes

Other information:
Comment 1 Gustav Broberg 2006-03-02 12:05:13 UTC
Created attachment 60479 [details]
marker-test.svg, testcase: two markers, one with visible and one with hidden overflow
Comment 2 Gustav Broberg 2006-03-02 12:06:43 UTC
Created attachment 60480 [details]
marker-test-librsvg.png, librsvg output of marker-test.svg
Comment 3 Gustav Broberg 2006-03-02 12:08:36 UTC
Created attachment 60481 [details]
marker-test-batik.png, batik output of marker-test.svg (reference)
Comment 4 Gustav Broberg 2007-08-31 23:09:45 UTC
Fixed in r1096:

2007-02-01  Emmanuel Pacaud <emmanuel.pacaud@lapp.in2p3.fr>

        * rsvg-marker.c (rsvg_marker_render): Don't clip if overflow style
        property is set to visible. Fix display of markers generated with
        inkscape.