non-scaling-stroke produces large aliasing (sometimes)
Reported by
phrog...@gmail.com,
Jun 16 2016
|
||
Issue descriptionUserAgent: Mozilla/5.0 (Windows NT 6.1; WOW64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/51.0.2704.84 Safari/537.36 Example URL: http://phrogz.net/SVG/TurtleTest-ChromeProblem.html Steps to reproduce the problem: Generate SVG files using `vector-effect:non-scaling-stroke` with varying `viewBox` precision and varying amounts of path data. (On the test URL, just load the page.) What is the expected behavior? non-scaling-stroke always works, producing consistent, anti-aliased stroke width. (On the test URL, all strokes should look the 1px thick, anti-aliased.) What went wrong? Sometimes (not sure why) the stroking is large and aliased. Does it occur on multiple sites: Yes Is it a problem with a plugin? No Did this work before? Yes Does this work in other browsers? Yes Chrome version: 51.0.2704.84 Channel: stable OS Version: 6.1 (Windows 7, Windows Server 2008 R2) Flash Version: Shockwave Flash 21.0 r0 Note that in one case reducing the precision of the `viewBox` coordinates causes the bug to appear for one of the paths, but the third SVG has similar precision on the `viewBox` and still shows the aliasing. Also note that the diagonal polylines in the test images all appear to be stroked correctly, so this may be triggered by a certain level of path complexity?
,
Jun 17 2016
fmalita@, does this look like GPU vs. CPU to you? Either that or we are somehow rendering then scaling a texture, but that doesn't seem right given there's only 1 layer on the page.
,
Jul 27 2016
Ping |
||
►
Sign in to add a comment |
||
Comment 1 by haraken@chromium.org
, Jun 17 2016