Skip to content

Address 4520 #4523

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

Merged
merged 1 commit into from
May 26, 2025
Merged

Address 4520 #4523

merged 1 commit into from
May 26, 2025

Conversation

JorjMcKie
Copy link
Collaborator

We previously refused a source page without a /Contents object in method show_pdf_page.
This fix creates a Form XObject in the target PDF with a stream length of 0 in this case.

We previously refused the use of a page without a /Contents object as source page in method `show_pdf_page`.
We now simply assume an empty stream and still create the Form XObject in the target PDF.
@julian-smith-artifex-com julian-smith-artifex-com merged commit 0d414ec into main May 26, 2025
2 checks passed
@julian-smith-artifex-com julian-smith-artifex-com deleted the address-4520 branch May 26, 2025 14:59
@github-actions github-actions bot locked and limited conversation to collaborators May 26, 2025
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants