Blending by filter pulls in anti-aliasing or sub-pixel effects
Reported by
har...@gmail.com,
Dec 21 2017
|
||||||||
Issue descriptionUserAgent: Mozilla/5.0 (Macintosh; Intel Mac OS X 10_11_4) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/63.0.3239.84 Safari/537.36 Steps to reproduce the problem: 1. Create a text tag and add a filter to defs tag 2. apply the filter to your text 3. What is the expected behavior? Shadow has to appear. In this case the shadow is applied but there is an internal shadow being applied along with the desired shadow What went wrong? From the Image you can see a distortion of text. The text has an internal shadow Did this work before? Yes 63.0.3239.84 Chrome version: 63.0.3239.84 Channel: canary OS Version: OS X 10.11.4 Flash Version: This issue however is not found in other browsers. Would love if you fix this ASAP
,
Dec 22 2017
Thanks for filing the issue @Reporter: Can you please provide the sample test file/URL to test this issue which helps us to triage it in a better way from TE end. Thanks!
,
Dec 22 2017
,
Jan 2 2018
,
Jan 2 2018
,
Jan 4 2018
@Team PFA the HTML file for the reported bug. You can find a TEXT shadow outside the text and also a shadow inside of the text, but i have specified shadow only for the outside. The same error cannot be reproduced in other browsers
,
Jan 4 2018
Thank you for providing more feedback. Adding requester "sc00335628@techmahindra.com" to the cc list and removing "Needs-Feedback" label. For more details visit https://www.chromium.org/issue-tracking/autotriage - Your friendly Sheriffbot
,
Jan 5 2018
Reporter@ Thanks for the issue. Tested this issue on Windows 10 and Mac OS 10.12.6 on the latest Stable 63.0.3239.132 and Canary 65.0.3312.0 and able to reproduce the issue. Can observe that on loading the given html page in comment #6, the text has an internal shadow. Note: Issue is not observed on Ubuntu 14.04. Tried bisecting this issue on Windows and below is the Good and Bad builds. Good Build : 60.0.3081.0 Bad Build : 60.0.3082.0 Tested the issue on Mac OS and can see that 60.0.3081.0 is a bad build on Mac. And on Mac this issue is broken in M57 chrome builds. As the Bisect info is differing in Windows and Mac OS, unable to provide the Bisect results. As the issue is inconsistent, marking this issue as Untriaged and requesting someone from Blink>SVG team to please look into this issue and help in further triaging. Thanks..
,
Jan 5 2018
,
Jan 5 2018
The issue is that the feBlend operation is causing the initial text to blur. On Mac you are seeing subpixel colors appearing at the edges. On linux I see grayscale antialiasing appear. This is a GPU filtering problem, I think, or maybe it is simply that the text now appears in a subpixel location when before it did not. Changing the gaussian blur radius doesn't change the behavior. So it is definitiely the blend that is causing the oddity. |
||||||||
►
Sign in to add a comment |
||||||||
Comment 1 by krajshree@chromium.org
, Dec 21 2017