GitHub user kalaspuffar opened a pull request:
https://github.com/apache/pdfbox/pull/16
Change to use media box for page size instead of cropbox.
For PDF documents where media box is larger or smaller than crop box the
content get squeezed or stretched.
For PDF content the media box should be used as the page size.
More information about this at
http://www.prepressure.com/pdf/basics/page-boxes
You can merge this pull request into a Git repository by running:
$ git pull https://github.com/kalaspuffar/pdfbox mediabox_for_content
Alternatively you can review and apply these changes as the patch at:
https://github.com/apache/pdfbox/pull/16.patch
To close this pull request, make a commit to your master/trunk branch
with (at least) the following in the commit message:
This closes #16
----
commit 39e7f44ab2e32da3e61a04da2b7c009fa7ccceb1
Author: Daniel Persson <[email protected]>
Date: 2015-10-30T13:17:04Z
Change to use media box for page size instead of cropbox.
----
---
If your project is set up for it, you can reply to this email and have your
reply appear on GitHub as well. If your project does not have this feature
enabled and wishes so, or if the feature is enabled but not working, please
contact infrastructure at [email protected] or file a JIRA ticket
with INFRA.
---
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]