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

Issue 797716 link

Starred by 1 user

Issue metadata

Status: WontFix
Owner: ----
Closed: Jan 2018
Cc:
Components:
EstimatedDays: ----
NextAction: 2018-01-15
OS: Windows
Pri: 2
Type: Bug



Sign in to add a comment

Inaccurate print SVG with opacity to PDF

Reported by alexande...@gmail.com, Dec 27 2017

Issue description

UserAgent: Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/63.0.3239.84 Safari/537.36

Steps to reproduce the problem:
1. Follow this link
https://jsfiddle.net/2nuf8wmt/3/show/light/
2. Trigger print of the web page (press "Ctrl + P").
3. Save printout as PDF. 

What is the expected behavior?
The right rectangle shouldn't contain artifact when user zoom in the PDF.

What went wrong?
If we zoom in the PDF we can see that the right rectangle contains artifacts. The same behavior we can notice if we greatly zoom in some JPG image. So, the right rectangle behaves more like a bitmapped image but should be fully vector, like the behavior of the left rectangle without transparent borders.

Did this work before? N/A 

Does this work in other browsers? No
 The same behavior in the latest Firefox and the latest Chrome.

Chrome version: 63.0.3239.84  Channel: n/a
OS Version: 10.0
Flash Version: Shockwave Flash 28.0 r0

I noticed some problems if I try to print a web page that contains SVG with opacity. I created the example
https://jsfiddle.net/2nuf8wmt/3/
Please, try to open it in the new window and print it to PDF
https://jsfiddle.net/2nuf8wmt/3/show/light/

If you zoom in the right rectangle in the generated PDF you'll notice artifacts like in the bitmap images. I believe that SVG with opacity should be printed the same as opaque SVG and be fully vector.
 
rectangles.PNG
8.8 KB View Download
Labels: Needs-Triage-M63
Cc: krajshree@chromium.org
Components: Blink>SVG
Labels: Needs-Feedback Triaged-ET
Unable to reproduce the issue on Win-10 using chrome reported version #63.0.3239.84, latest stable #63.0.3239.108 and latest canary #65.0.3305.0.

Attached a screen cast and screenshot for reference.

Following are the steps followed to reproduce the issue.
------------
1. Followed this link
https://jsfiddle.net/2nuf8wmt/3/show/light/
2. Triggered print of the web page (press "Ctrl + P").
3. Saved printout as PDF.
4. Observed that right rectangle didn't contain artifact when zoomed in the PDF.

reporter@ - Could you please check the issue on latest canary #65.0.3305.0 by creating a new profile without any apps and extensions and please let us know if the issue still persist or not.

Thanks...!!
797716.mp4
2.4 MB View Download
797716@img.PNG
35.2 KB View Download

Comment 3 by f...@opera.com, Jan 2 2018

Components: -Blink>SVG Internals>Skia>PDF
NextAction: 2018-01-15
You're right. Previously I generated PDF using Foxit Reader PDF plugin. When I tried to save PDF using built-in browser tool everything works correctly in Google Chrome 63.0.3239.132.

It is not the bug in Chromium, but in the Foxit reader PDF plugin. Sorry for the mess. We can close this issue.
Project Member

Comment 6 by sheriffbot@chromium.org, Jan 14 2018

Labels: -Needs-Feedback
Thank you for providing more feedback. Adding requester "krajshree@chromium.org" to the cc list and removing "Needs-Feedback" label.

For more details visit https://www.chromium.org/issue-tracking/autotriage - Your friendly Sheriffbot
The NextAction date has arrived: 2018-01-15
Status: WontFix (was: Unconfirmed)
As per comment #5, closing the issue as wontFix.

Thanks...!!

Sign in to add a comment