SVG arc interactions cause glitches when filling
Reported by
davidj...@gmail.com,
Jan 15
|
|||||||
Issue descriptionUserAgent: Mozilla/5.0 (Macintosh; Intel Mac OS X 10_14_2) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/71.0.3578.98 Safari/537.36 Steps to reproduce the problem: Load the following: <!doctype html> <html lang="en"> <head> </head> <body> <svg xmlns="http://www.w3.org/2000/svg" version="1.1" width="200" height="200"> <path fill="#008080" d=" M140 120 L150 100 L34.6 141.4 A80 9 145 0 0 33.8 144.82 A80 80 0 0 1 140 28 "></path> </svg> </body> </html> What is the expected behavior? Shape should fill consistently What went wrong? A triangle is "cut" from the fill on the left (appears to fade to white at the base point) This seems to be limited to areas where arcs meet in an awkward way (here a tiny arc meets a large arc at a sharp angle), and the shape is self-intersecting (in this example straight lines cause a self intersection on the right). The colour of the shape is irrelevant, but I used this colour to make the error more obvious. The glitch is fairly stable to changes in shape, but needs particular values (e.g. the 144.82 in this example) to make it most obvious. It frequently appears as a thin, <1px seam. Did this work before? N/A Chrome version: 71.0.3578.98 Channel: stable OS Version: OS X 10.14.2 Flash Version: Tested the same content in Firefox and Safari and it renders ok. This is on a retina (2x pixel density) display.
,
Jan 16
,
Jan 16
(6 days ago)
reporter@ Thanks for the issue. Able to reproduce this issue on Windows 10 and Mac OS 10.13.6 on the latest Stable 71.0.3578.98 and latest Canary 73.0.3672.0. Issue is not observed on Ubuntu 17.10. This is a Non-Regression issue as this behavior is observed from M-60 chrome builds. Attached is the screen shot for reference. Hence marking this as Untriaged for further updates from Dev. Thanks..
,
Jan 16
(6 days ago)
This looks like tessellation issue - if you have GPU acceleration enabled (I imagine you do), does disabling it make the issue go away?
,
Jan 16
(6 days ago)
Yes, when I switch off "Use hardware acceleration when available", the issue disappears.
,
Jan 16
(6 days ago)
Thank you for verifying! Punting to GPU-raster triage.
,
Jan 18
(4 days ago)
,
Jan 18
(4 days ago)
+hcm for triage if needed
,
Jan 18
(4 days ago)
This is being rendered by the tessellating path renderer |
|||||||
►
Sign in to add a comment |
|||||||
Comment 1 by davidj...@gmail.com
, Jan 15200 bytes
200 bytes Download