Opened 14 years ago
Closed 13 years ago
#2972 closed defect (fixed)
SVG Paths that are not closed do not render properly in VML
Reported by: | Tom Trenka | Owned by: | Eugene Lazutkin |
---|---|---|---|
Priority: | high | Milestone: | 0.9 |
Component: | gfx (svg+vml) | Version: | 0.4.2 |
Keywords: | Cc: | ||
Blocked By: | Blocking: |
Description
If you try to do something like this:
surface.createPath("M0,0 Q100,-50 200,0").setStroke("black");
...the path element is never rendered in IE. However, this:
surface.createPath("M0,0 Q100,-50 200,0 Z").setStroke("black");
...will be rendered correctly. As far as I can tell, a path element is never inserted into the document.
Change History (4)
comment:1 Changed 14 years ago by
Component: | General → gfx (svg+vml) |
---|
comment:2 Changed 14 years ago by
comment:3 Changed 14 years ago by
Status: | new → assigned |
---|
comment:4 Changed 13 years ago by
Resolution: | → fixed |
---|---|
Status: | assigned → closed |
Note: See
TracTickets for help on using
tickets.
Testing between Eugene and I determined that for some reason you cannot end a path segment in VML with a quadratic bezier curve; the workaround (Eugene will commit) is to append " l0,0" to the end of the path segment.