Space between stroke and fill if squishing is going on
Reported by
philipp....@gmail.com,
Dec 6 2017
|
|||||
Issue descriptionUserAgent: Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/63.0.3239.70 Safari/537.36 Steps to reproduce the problem: Have a SVG with <text> with certain attributes, lengthAdjust="spacingAndGlyphs", textLength and possibly other attributes are necessary, it's important that the text gets squished (or possibly stretched). What is the expected behavior? Stroke and fill are equally modified so that there are no holes between those two. After all "fill" is as the name implies supposed to fill everything up between the "stroke" borders. What went wrong? There is a space between stroke and fill in this test case on my setup. A precision problem? Did this work before? N/A Does this work in other browsers? N/A Chrome version: 63.0.3239.70 Channel: n/a OS Version: 10.0 Flash Version: Does not appear in Mozilla Firefox (see attached screenshot). (Fun fact: I came across this issue while creating a minimal test case for a Firefox issue to report.)
,
Dec 7 2017
Concerning other browsers, as said the problem does not occur in current Mozilla Firefox. It does occur in Webkit browsers (Safari) though. See https://www.browserstack.com/screenshots/a17dac1d310ec4aba4f30813d0c747c3b6350740 (as long as the link stays valid). The test case does not work in Internet Explorer 11, Edge 41 or some older browsers because of missing support for SVG 2's "paint-order".
,
Dec 7 2017
This looks like a "too wide stroke" problem, which makes the stroke shape fold onto itself ("turn inside out") - the breakpoint seems to be around 23-24px for me. Issue 663246 is a similar case.
Issue 732014 might be the same, but it's difficult to tell.
And, FWIW, I'm seeing this even without textLength applied. I then also see the issue in Firefox, although much less pronounced.
,
Dec 11 2017
,
Dec 12 2017
To Cary for a look...
,
Dec 13 2017
Agree with #3; the interior oval is turning inside-out. I am working on an experiment to fix this in Skia, but no ETA (or even assurance that the problem is solvable) |
|||||
►
Sign in to add a comment |
|||||
Comment 1 by dtapu...@chromium.org
, Dec 7 2017