Element with SVG background and border-radius is rendered poorly on print
Reported by
david.st...@gmail.com,
Oct 23 2016
|
|||||
Issue descriptionChrome Version : 54.0.2840.71 URLs (if applicable) : https://jsfiddle.net/jvvf5a1a/ OS version : macOS Sierra 10.12 Behavior in Safari Version 10.0 (12602.1.50.0.10): Renders beautifully Behavior in Firefox 49.0.2: Only <img> tag is fine. Behavior in Chrome for Windows: Not tested What steps will reproduce the problem? (1) Open https://jsfiddle.net/jvvf5a1a/ (2) Open the print preview (Cmd+P or File > Print..., or right-click > Print...) (3) Make sure "Background graphics" is enabled (4) Save in PDF or open in Preview What is the expected result? The three icons should be rendered properly. What happens instead? Middle icon is rendered very poorly, pixelated and blurry I tried to find similar issues with no success.
,
Oct 25 2016
Yes, this is triggered by my change, but likely a problem with the PDF backend. Hal, I don't remember all the details, but I think we've had several bugs related to SkPDF shader raster quality. Can you maybe dupe this against one of those bugs? (that's what this CL changed: we now draw rounded-rect images with shaders)
,
Apr 10 2017
What raster quality do you want?
,
Apr 10 2017
I'm guessing comment 3 is for fmalita@ ?
,
Apr 11 2017
(not sure where the question was directed) There is no good answer, all I was asking was to throw this issue in the stuff-that-is-poorly-supported-in-pdf-cause-shaders bucket. But since the trigger change is an optimization for normal rendering, maybe we can disable it when printing and get back to the original behavior. I'll take a look, although I'm not crazy about having different paint paths for printing/non-printing.
,
Apr 11 2017
Should be fixed after https://chromium.googlesource.com/chromium/src/+/7a295c16c670ed5c712fa109df65112be4b107a6. |
|||||
►
Sign in to add a comment |
|||||
Comment 1 by rbasuvula@chromium.org
, Oct 25 2016Components: UI>Browser>PrintPreview
Labels: M-56 OS-Linux OS-Windows
Owner: fmalita@chromium.org
Status: Assigned (was: Unconfirmed)