Bug 41249 - Wrong clipping with markerUnits="userSpaceOnUse"
Summary: Wrong clipping with markerUnits="userSpaceOnUse"
Status: NEW
Alias: None
Product: Batik - Now in Jira
Classification: Unclassified
Component: SVG Viewer (show other bugs)
Version: 1.6
Hardware: Other other
: P2 normal
Target Milestone: ---
Assignee: Batik Developer's Mailing list
Depends on:
Reported: 2006-12-27 20:29 UTC by x00000000
Modified: 2006-12-30 02:53 UTC (History)
0 users

testcase (1.22 KB, image/svg+xml)
2006-12-27 20:30 UTC, x00000000
patch (1.71 KB, patch)
2006-12-30 02:53 UTC, x00000000
Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description x00000000 2006-12-27 20:29:48 UTC
Markers with markerUnits="userSpaceOnUse" seem to be clipped as if
markerUnits were "strokeWidth". Display is correct when overflow="visible".
Comment 1 x00000000 2006-12-27 20:30:36 UTC
Created attachment 19312 [details]
Comment 2 x00000000 2006-12-30 02:53:42 UTC
Created attachment 19330 [details]

Don't know if you like the hack with setting strokeWidth to 1.
It's the easiest solution, but may be considered bad coding style.

BTW, is it intentional not to scale the values of the clip property with
strokeWidth (later in the file)? The spec is unclear to which coordinate
system they should refer, but I'd rather expect them to be in the system
of the marker contents.