Body backround is visible in PDF when there is no spacing
Reported by
pavel.m...@gmail.com,
Jan 15
|
|||||
Issue descriptionUserAgent: Mozilla/5.0 (X11; Linux x86_64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/70.0.3538.77 Safari/537.36 Steps to reproduce the problem: 1. Open the attached HTML file 2. Print it to PDF What is the expected behavior? Chrome's print preview doesn't include red box around the main content, but printed PDF has the border. See attached PDF and print preview screenshot. The expectation is to create the same PDF like print preview. I'd say that there should not be any red rectangle around the content as there is no spacing (margin, padding) defined in body HTML. What went wrong? The red box around the main content in PDF. The other strange thing is that in some higher zooms (e.g. 383,57%) the right line of the rectangle is not visible. Did this work before? N/A Chrome version: 70.0.3538.77 Channel: stable OS Version: Ubuntu 18.04 Flash Version:
,
Jan 15
,
Jan 15
,
Jan 16
(6 days ago)
Tried testing the issue on the reported chrome version #70.0.3538.77 using Ubuntu 17.10 by following below steps. Steps: ===== 1.Launched chrome. 2.Opened "Hacker_News.html". 3.Opened Print preview. 4.Unable to see the red background as shown in comment#0 screenshot. Attached screencast for reference. @reporter: Could you please review attached screencast and let us know if anything missed from our end. Requesting you to retry the issue on latest stable #71.0.3578.98 and let us know if the issue still persists. You can download the latest stable from "https://www.chromium.org/getting-involved/dev-channel". Thanks.!
,
Jan 16
(6 days ago)
I'm sorry I forgot to upload CSS files. Please us the attached zip and open Hacker_News.html The red rectangle is not visible in Print Preview, it's only in PDF. My Chrome version is Version 70.0.3538.77 (Official Build) (64-bit)
,
Jan 16
(6 days ago)
Thank you for providing more feedback. Adding the requester to the cc list. For more details visit https://www.chromium.org/issue-tracking/autotriage - Your friendly Sheriffbot
,
Jan 16
(6 days ago)
I don't see any red borders in hacker_news.pdf either.
,
Jan 17
(5 days ago)
I'm attaching Ubuntu default PDF viewer (evince) screenshot.
,
Jan 17
(5 days ago)
You are referring to the thin red border, coorect? That does show up in libpoppler-based PDF viewers like Evince, but does not show up in Chrome's PDF Viewer. So there are two things here: 1) I'll check Acrobat Reader and Preview.app when I get a chance, but this may be a display issue with Evince. 2) Maybe that red border should not be there at all in the PDF.
,
Jan 17
(5 days ago)
s/coorect/correct/
,
Jan 17
(5 days ago)
Thanks. I have checked Acrobat Reader on Ubuntu and the red box is not present.
,
Jan 17
(5 days ago)
A thin red border is seen in muPDF, SumatraPDF (muPDF-based), InfixPDF. These viewers are small and often faster than Adobe's, but I guess they take shortcuts to achieve that speed thus sacrificing accuracy. No border in Adobe reader or Chrome's pdfium.
,
Jan 17
(5 days ago)
Ok, I'll report the issue to Evince. Thank you.
,
Yesterday
(46 hours ago)
I have reported the issue to Evince and Poppler. There Albert detected that the red border is visible also in Adobe and identified it as a small precision issue: -- https://gitlab.freedesktop.org/poppler/poppler/issues/714#note_105851 So it seems that the bug may lay in Chromium/Skia when the main content or border is positioned into PDF. |
|||||
►
Sign in to add a comment |
|||||
Comment 1 Deleted