Skip to content

Address 4520#4523

Merged
julian-smith-artifex-com merged 1 commit into
mainfrom
address-4520
May 26, 2025
Merged

Address 4520#4523
julian-smith-artifex-com merged 1 commit into
mainfrom
address-4520

Conversation

@JorjMcKie
Copy link
Copy Markdown
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.

Comment thread tests/test_4520.py
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