Open lalue opened 8 years ago
Please note the lines are actually faintly visible in Adobe Reader as well, it's just that they are more easily spotted in PDF.js. (Interestingly, it seems that the PDF viewer in Google Chrome renders it the same way as PDF.js.)
To ensure future availability, I'm directly attaching the referenced PDF file here: render_problem.pdf.
Hi Jonas,
Thanks for your fast reply.
Yes, you are right – this is unfortunately true.
The intention of the pdf creation software is to fill the dark area (water). The filling algorithm generates a rather strange set of polygons (working like a plotter). I would expect the have the border of the polygons to have the same colour as the background and I’m not sure if it’s the creator of the renderer which uses the wrong colour or of we can see the background through.
Unfortunately I have to live with those documents and therefore it would be great to minimize the display ‘error’.
Thanks for your work
Klaus Langelüddeke
Von: Jonas Jenwald [mailto:notifications@github.com] Gesendet: Donnerstag, 2. Juni 2016 12:21 An: mozilla/pdf.js Cc: lalue; Author Betreff: Re: [mozilla/pdf.js] Polygonfilling of does not work correct (#7384)
Please note the lines are actually faintly visible in Adobe Reader as well, it's just that they are much more easily spotted in PDF.js. (Interestingly, it seems that the PDF viewer in Google Chrome renders the same way as PDF.js.)
To ensure future availability, I'm directly attaching the referenced PDF file here: render_problem.pdf https://github.com/mozilla/pdf.js/files/295331/render_problem.pdf .
— You are receiving this because you authored the thread. Reply to this email directly, view it on GitHub https://github.com/mozilla/pdf.js/issues/7384#issuecomment-223252608 , or mute the thread https://github.com/notifications/unsubscribe/ASywDOpJvLNABCdFSUdjx-_ybFzTWVKDks5qHq6bgaJpZM4IsYrd . https://github.com/notifications/beacon/ASywDGWNqUihwJxrgbxUVPlLaEAcGie7ks5qHq6bgaJpZM4IsYrd.gif
Configuration:
Steps to reproduce the problem: Load file in pdf.js viewer (http://www.lalue.de/pdfjs/web/viewer.html)
What is the expected behavior?
Dark area (sea) filled without white lines visible Light Area (land) not crossed by dark lines.
Screenshot rendered by Acrobat Reader.
What went wrong? (add screenshot)
Link to viewer.html with sample: