Hi,
There's this bug filed at Mozilla's bugzilla:
https://bugzilla.mozilla.org/show_bug.cgi?id=520133 (and a seemingly related one at https://bugzilla.mozilla.org/show_bug.cgi?id=320280)
In summary: It's about showing (or not) marker's arrow in SVG files exported from Visio. (Please note that in Visio, the "marker" is done with a "connector", if we follow Visio's terms).
Normally, SVG files exported from Visio have problem with Inkscape. But strangely, the exported SVG files in this case shows everything!
However, the same SVG files opened inside Firefox are missing arrowheads. But those guys in Mozilla (cf inside the bugs' discussions) are saying that showing the arrowhead is not in conformance. I'm not expert in SVG and can't say who's right or wrong. Of course, as an end-user, I'm happy that everything is shown without hassle
I'm wondering if what they say is right or not that Inkscape is not in conformance regarding this. Please feel free to comment on those bugs.
Inkscape does not conform to "marker" in SVG spec?
Re: Inkscape does not conform to "marker" in SVG spec?
I can't tell whether the Mozilla developers are right or not: just keep in mind though that Inkscape doesn't claim to fully implement the SVG 1.1 specification in its current stable releases (that is still a major goal on the roadmap for version 1.0). It could well be that Inkscape is wrong, and (all?) other SVG viewers - like Squiggle (Batik 1.7), Chromium as well as Opera 11 (which has the most complete SVG support among the modern web browsers according to http://www.codedread.com/svg-support.php) - have it right with these VISIO-generated SVG files.Horus wrote:I'm wondering if what they say is right or not that Inkscape is not in conformance regarding this.
Re: Inkscape does not conform to "marker" in SVG spec?
Thanks for your reply.
For the record, let me paste the technical reply about "should or should not display arrow" from one of the comment here:
---------
As per the spec : http://www.w3.org/TR/SVG/painting.html#Markers
"SVG's user agent style sheet sets the ‘overflow’ property for ‘marker’ elements to hidden, which causes a rectangular clipping path to be created at the bounds of the marker tile. Unless the ‘overflow’ property is overridden, any graphics within the marker which goes outside of the marker rectangle will be clipped."
---------
I had tried to understand this but honestly I'm unable to
And let me attach some test cases for further investigation.
For the record, let me paste the technical reply about "should or should not display arrow" from one of the comment here:
---------
As per the spec : http://www.w3.org/TR/SVG/painting.html#Markers
"SVG's user agent style sheet sets the ‘overflow’ property for ‘marker’ elements to hidden, which causes a rectangular clipping path to be created at the bounds of the marker tile. Unless the ‘overflow’ property is overridden, any graphics within the marker which goes outside of the marker rectangle will be clipped."
---------
I had tried to understand this but honestly I'm unable to
And let me attach some test cases for further investigation.
- Attachments
-
- Test sample 1 rendered by Adobe SVG viewer:
Arrow is rendered, but not sure if this is right or wrong - arrow-head-missing-rendered-but-not-sure.png (1.52 KiB) Viewed 1989 times
- Test sample 1 rendered by Adobe SVG viewer:
-
- arrow-head-missing.svg
- Test sample 1: (Visio) connector between two boxes
- (2.93 KiB) Downloaded 172 times
Re: Inkscape does not conform to "marker" in SVG spec?
Sample 2
- Attachments
-
- Test sample 2 rendered by Adobe SVG viewer:
Arrows are rendered, but not sure if this is right or wrong - visio2003-rendered-but-not-sure.png (6.8 KiB) Viewed 1988 times
- Test sample 2 rendered by Adobe SVG viewer:
-
- visio2003.svg
- Test sample 2
- (4.88 KiB) Downloaded 173 times