Browse Source
Two major issues: 1. Border/shadow around every page. Removed by adding "border:none". 2. Added "overflow:visible" (overrides "overflow:auto") in #viewContainer. This solves two problems: - It prevents scrollbars from appearing. - Every "page" is automatically resized to fit on a printed page, just like the Firefox. To see what's wrong, here's a picture of how PDF.js rendered the pdf in Chrome (using "Print to PDF" feature of Chrome): https://robwu.nl/pdfjs/pdfjs-print-with-chromium-28.pdf Successfully tested with Chrome 28 and Firefox 22. Solves #3445
1 changed files with 4 additions and 0 deletions
Loading…
Reference in new issue