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

Handle fractional-sized pages "correctly" as floats. #2

Merged
merged 1 commit into from Nov 14, 2021
Merged

Conversation

willangley
Copy link
Owner

Both ReportLab and img2pdf expect floats, rather than decimal.Decimal,
so there's no value to passing Decimal out from pdf_info in practice.
Fixes #1.

Both ReportLab and img2pdf expect floats, rather than `decimal.Decimal`,
so there's no value to passing Decimal out from pdf_info in practice.
Fixes #1.
@willangley willangley merged commit ad38c9a into main Nov 14, 2021
@willangley willangley deleted the fix-floats branch November 14, 2021 16:19
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.

pdf_info crashes when reading a PDF with non-integer mediaboxes
1 participant