Something is terribly wrong with transparent linear-gradient and print-to-pdf
Reported by
laren...@mailhaven.com,
Apr 4 2018
|
||||
Issue descriptionChrome Version : Chromium 66.0.3347.0 (from puppeteer), Linux URLs (if applicable) : test file provided What steps will reproduce the problem? (1) chromium --headless --disable-gpu --print-to-pdf file:///tmp/b.html (2) open output.pdf using any pdf viewer (3) check 2nd and 3rd gradients What is the expected result? Expected result can be seen in ordinal view using chromium. What happens instead? Invalid gradients. b.html attached.
,
Apr 6 2018
The HTML page loads correctly in Chromium, but even the print preview is missing the gradient, so this isn't specific to it being headless. thestig, can you take a look, something is going wrong during the conversion from HTML to PDF.
,
Apr 6 2018
,
Apr 7 2018
On a Mac, the gradients render nicely on Chrome(pdfium) but are heavily rasterized in Preview.app.
,
Apr 7 2018
In order to do transparency in a PDF, I need an alpha (soft mask) layer. This is a bug in how the rasterizer handles the shading pattern (gradient) in the alpha layer. Please file a bug against Adobe and Apple. |
||||
►
Sign in to add a comment |
||||
Comment 1 by krajshree@chromium.org
, Apr 5 2018