1
0
Fork 0
mirror of https://github.com/rails/rails.git synced 2022-11-09 12:12:34 -05:00
rails--rails/activestorage/lib
Vincent Robert 3803671a81 Generate a preview without print margins
When a PDF is used for both printing and displaying. It will most likely
contain a crop box in order to hide print margins when displaying the PDF.

Use Poppler's parameter to automatically use the crop box (visible box)
rather than the media box (printable box) in order to remove those margins
when drawing the PDF.

See https://manpages.debian.org/testing/poppler-utils/pdftoppm.1.en.html
2020-09-17 11:59:45 -04:00
..
active_storage Generate a preview without print margins 2020-09-17 11:59:45 -04:00
tasks Add foreign key to active_storage_attachments for blob_id via new migration 2019-01-16 13:13:23 +00:00
active_storage.rb Active Storage: allow serving files by proxying 2020-05-11 16:21:58 -04:00