GNOME Bugzilla – Bug 760180
Markers don't handle their viewBox correctly; end up with wrong offsets
Last modified: 2016-01-08 01:49:55 UTC
See the attached SVG, which comes from the W3C SVG test suite. The markers on the left have an incorrect tranformation. The "markers" on the right are done using explicit paths, so they render correctly.
Created attachment 318291 [details] painting-marker-06-f.svg
Actually, it is the viewBox for the marker that we are not handling correctly. Open the SVG in a text editor; the description near the top mentions the use of a non-default viewBox for markers.
Created attachment 318309 [details] Simplified SVG code
I've simplified the SVG code and then it looks alright. The W3C example uses complex scenarios for sophisticated testing. I can't image anybody needs that really. This is not a normal use case and everybodys still happy even without such abilites. I wouldn't fix it until someone comes with a real world example.
Fixed in master with commit 63371906c63d74bfb1f1ca6b10237d3b563bb55a