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

Prevent empty redaction rectangles #3589

Merged
merged 3 commits into from
Jun 17, 2024
Merged

Prevent empty redaction rectangles #3589

merged 3 commits into from
Jun 17, 2024

Conversation

JorjMcKie
Copy link
Collaborator

@JorjMcKie JorjMcKie commented Jun 17, 2024

White-space OverlayText is treated as if entirely omitted.
If the redaction rectangle width is too small to reasonably show text, insertion attempts for replacing text are silently ignored.

A minor correction to method "remove_rotation" ignores invalid hyperlinks during annotation / hyperlink rectangle restoration.

Ensure non-empty redaction rectangles.
 OverlayText must either be omitted entirely or non-white, in which case a sensible redaction rectangle width is also ensured.

A minor correction to method "remove_rotation" ignores invalid hyperlinks during annotation / hyperlink rectangle restoration.
@JorjMcKie JorjMcKie merged commit 0d93499 into main Jun 17, 2024
2 checks passed
@github-actions github-actions bot locked and limited conversation to collaborators Jun 17, 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