Issue metadata
Sign in to add a comment
|
Canvas does not display some lines
Reported by
dhiru0...@gmail.com,
Jul 25 2016
|
||||||||||||||||||||||||
Issue descriptionChrome Version : 52.0.2743.82 URLs (if applicable) : https://mozilla.github.io/pdf.js/web/viewer.html Other browsers tested: Add OK or FAIL, along with the version, after other browsers where you have tested this issue: Safari: Firefox:45.0.1: OK IE:11 OK What steps will reproduce the problem? (1) Open https://mozilla.github.io/pdf.js/web/viewer.html (2) Click on Open File button to open new PDF to view. (3) Open the attachment file “Chrome_Vector.pdf” (4) The table border is not displayed. This issue occurs only in google chrome What is the expected result? What happens instead? Please provide any additional information below. Attach a screenshot if possible.
,
Jul 28 2016
Hi, This is very urgent for us. Please let us know if any more info is required from our side. Please let us know a time-line when we can expect a resolution of this ?
,
Jul 28 2016
This looks like it's using pdf.js, not the built in PDF viewer in chrome. So, it's possible it's a pdf.js bug and should be filed against them. Removing the Plugins>PDF label.
,
Aug 2 2016
The same URL and same file works perfectly in other browsers like Microsoft IE, Mozilla Firefox. Please help us to resolve the issue.
,
Aug 12 2016
,
Aug 19 2016
This might be a fractional units thing. If you zoom and unzoom the image on Linux in 52.0.2743.116 (Official Build) (64-bit), you'll see different borders paint. Looking at the DIVs in the page, they have fractional widths and positions. (Like on my display "PRODUCT CODE : TM" is 180.078 w * 17 h and at t: 223.862, r: 647.125, b: 1106.140, l: 124.806. It doesn't have a top border.) This is *probably* paint, but maybe layout just for FYI. I don't think this is HTML; I think the DIVs are just DIVs.
,
Aug 19 2016
This is a canvas bug. The entire visible page content is painted into a canvas. The text nodes are not even rendering anything visible - you can hide them and the page stays the same. (They probably exist to enable selection). If you zoom the page in the browser the image is constant. As dominicc says, if you zoom in the app you get very different results at each zoom level.
,
Aug 19 2016
,
Aug 19 2016
I am finding this very hard to investigate without a reduced test case. I have been trying to produce a reduced test, but I am having no success. Perhaps someone with more insight into pdf.js internals could help? @dhiru0123: Could you help with this? I would like a small self-contained test that draws just one line that the illustrated the bug. This could be a small html file or a jsfiddle, or something like that.
,
Aug 25 2016
@junov, we tried reducing the case, since it comes for table content, we reproduced it with a document containing just one table row. PFA the document and try to debug the case with it.
,
Aug 25 2016
That does not help me much since it still depends on pdf.js to reproduce the problem. What I am looking for is a small self-contained test. We have plenty of tests that draw thin lines in using 2D canvas and they all pass. There is something particular about how pdf.js operates that triggers this bug. I spent a whole day trying to figure out what it could be to no avail. Someone who understands the rendering internals of pdf.js should be able to helps with this. What I am looking for is a tiny snippet of just a few lines of JavaScript that demonstrates the bug.
,
Aug 31 2016
I'm also trying to coordinate with people from PDF.js if they can help us in this. This bug is also registered in PDF.js bug database. https://github.com/mozilla/pdf.js/issues/7551
,
Sep 12 2016
,
Sep 16 2016
,
Sep 16 2016
This bug depends on crbug.com/424291 . The lines that disappear have doAA = false.
,
Sep 27 2016
|
|||||||||||||||||||||||||
►
Sign in to add a comment |
|||||||||||||||||||||||||
Comment 1 by ajha@chromium.org
, Jul 26 2016Components: Internals>Plugins>PDF
Labels: -Pri-3 M-54 Pri-2
Status: Untriaged (was: Unconfirmed)