Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

pdftopdf: Backport 'pagesize_requested' field in ProcessingParameters struct #606

Open
wants to merge 1 commit into
base: 1.x
Choose a base branch
from

Conversation

sergio-gdr
Copy link

There are issues like #481, #526 and #583, where a regression is found in the pagesize handling due to the change in the defaults for print scaling.
The suggested solution is to pass the option print-scaling=none to the filter, but this only works for the master branch and not the 1.x branch, because the master branch introduced the pagesize_requested in the parameters structure, changing the logic inside the processPDFTOPDF() function. This patch backports that logic, which seems to be the only relevant difference between the master and 1.x branches, and making the suggested solution work correctly.

…eters struct

This commit backports from the master branch the implementation of the
'pagesize_requested' field in the parameters for pdftopdf processing.

Signed-off-by: Sergio Gómez <[email protected]>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant