DrupalCon Atlanta will be held next year from 24-27 March 2025, and the Call for Speakers is now open! Do you have Drupal knowledge to share? We invite you to submit your session! Contributing your voice and expertise drives Drupal’s continued evolution and success.
When using pdf.js, there is no restriction on width and height.
This makes that all pages are shown, taking a lot of vertical space.
Patch adds restrictions, but if height is left empty, the current behavior of showing all pages will be kept, in case someone wants that.
Original report:
In our case, with PDF.js, all pages of a PDF are shown, equal what height we setup in the display-settings. We would expect, that the height restrict the viewer to show all pages of the PDF at once?
Comment | File | Size | Author |
---|---|---|---|
#2 | 3074904-restrict-pdfjs-dimensions-2.patch | 1.88 KB | penyaskito |
Comments
Comment #2
penyaskitoAttached patch.
Comment #3
penyaskitoComment #5
penyaskito