[Webkit-unassigned] [Bug 140545] SVG zero-length subpath does not render as a square
bugzilla-daemon at webkit.org
bugzilla-daemon at webkit.org
Mon Jan 26 17:44:04 PST 2015
https://bugs.webkit.org/show_bug.cgi?id=140545
Nikos Andronikos <nikos.andronikos-webkit at cisra.canon.com.au> changed:
What |Removed |Added
----------------------------------------------------------------------------
CC| |nikos.andronikos-webkit at cis
| |ra.canon.com.au
--- Comment #2 from Nikos Andronikos <nikos.andronikos-webkit at cisra.canon.com.au> ---
I created a standalone test case on OS X using core graphics for http://mcc.id.au/temp/2008/zero-path.svg with the following code:
CGMutablePathRef path = CGPathCreateMutable();
CGPathMoveToPoint(path, 0, 100, 100);
CGPathCloseSubpath(path);
CGContextBeginPath(context);
CGContextAddPath(context, path);
CGContextStrokePath(context);
It looks like Core Graphics is rendering the path at a 45 degree angle and a square is being created by another workaround in the WebKit code - therefore causing a star to be rendered.
--
You are receiving this mail because:
You are the assignee for the bug.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.webkit.org/pipermail/webkit-unassigned/attachments/20150127/ebf55917/attachment-0002.html>
More information about the webkit-unassigned
mailing list