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

Add support to python only pdfviewer for displaying pdf files where not all pages are the same size #2480

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

Conversation

jmoraleda
Copy link
Contributor

The current PDF viewer assumes all pages in the PDF document being displayed are of the same size. When this is not the case the PDF does not display correctly.

This PR refactors the viewer so that PDF documents containing pages of different sizes display correctly.

I have thoroughly tested this PR in GTK and MSW and have found it to produce the correct results and have performance comparable to the previous version including for larger documents.

@jmoraleda
Copy link
Contributor Author

jmoraleda commented Dec 21, 2023

See discussion and review of this PR in #2492 (comment)

@jmoraleda jmoraleda force-pushed the variable-page-size-pdfviewer branch from 55020c3 to 7e0e98f Compare March 29, 2024 19:00
@jmoraleda jmoraleda force-pushed the variable-page-size-pdfviewer branch from 7e0e98f to 87aae0c Compare April 10, 2024 15:21
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.

None yet

1 participant