New issue
Advanced search Search tips
Note: Color blocks (like or ) mean that a user may not be available. Tooltip shows the reason.

Issue 792612 link

Starred by 1 user

Issue metadata

Status: Duplicate
Merged: issue 589769
Owner:
Last visit > 30 days ago
Closed: Dec 2017
Components:
EstimatedDays: ----
NextAction: ----
OS: Linux , Windows
Pri: 2
Type: Bug



Sign in to add a comment

Space between stroke and fill if squishing is going on

Reported by philipp....@gmail.com, Dec 6 2017

Issue description

UserAgent: 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.)
 
dot_dot_dot.svg
244 bytes Download
dot_dot_dot.png
16.9 KB View Download
Components: Blink>SVG
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".

Comment 3 by f...@opera.com, Dec 7 2017

Components: -Blink>SVG Internals>Skia
Labels: OS-Linux
Status: Available (was: Unconfirmed)
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.
Status: Untriaged (was: Available)

Comment 5 by hcm@chromium.org, Dec 12 2017

Owner: caryclark@google.com
To Cary for a look...
Mergedinto: 589769
Status: Duplicate (was: Untriaged)
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