Open Djfe opened 8 years ago
As indicated in https://github.com/mozilla/pdf.js/blob/master/.github/CONTRIBUTING.md, please share (a link to) an example PDF file that shows the issue.
You just need a PDF with one DIN A4 page in it, like this one: example pdf And switch to page-fit mode (I already included the necessary parameter for you in the link)
Regards, Djfe
Are you able to reproduce the issue? Just in-case, this is what I'm seeing:
^This y-scrollbar shouldn't be there if you select page-fit
Thank you. I can indeed reproduce the issue. Marking this as a viewer issue.
Configuration: Firefox 48.0 64bit Win 10 64bit education included one
Steps to reproduce the problem: Open PDF with one Din A4 page
What is the expected behavior? (add screenshot) Since I selected page-fit, ist should fit the page, but it doesn't because of the margin/border and shadow the calculated width/height of the canvas/page doesn't fit it. There is a vertical scrollbar Try to subtract border shadow/margins etc. before doing the height/width maths That should fix it.
Regards, Djfe