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 for redacting vector graphics #3232

Merged
merged 1 commit into from
Mar 7, 2024
Merged

Conversation

JorjMcKie
Copy link
Collaborator

No description provided.

Add support for redacting vector graphics

Also add a quick fix for property Annot.irt_xref

Update test_2548.py
@JorjMcKie JorjMcKie force-pushed the Lineart-redactions branch from d11a4a1 to e30c0f1 Compare March 7, 2024 21:01
Comment on lines 38 to 40
if fitz.mupdf_version_tuple >= (1, 24):
expected = 'format error: cycle in structure tree\nstructure tree broken, assume tree is missing'
expected = 'Loop found in structure tree. Ignoring structure.'
assert wt == expected, f'expected:\n {expected!r}\nwt:\n {wt!r}\n'
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This fix is already on main so will disappear when PR is merged.

@JorjMcKie JorjMcKie merged commit 2a4ee0a into main Mar 7, 2024
2 checks passed
@github-actions github-actions bot locked and limited conversation to collaborators Mar 7, 2024
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