Skip to content

apply_redactions moves graphics #3611

@BeSaad

Description

@BeSaad

Description of the bug

Look into this pdf page
Screenshot 2024-06-24 at 22 54 11

When I apply redaction using page.apply_redactions() (random rectangle) I end up with this
Screenshot 2024-06-24 at 22 54 24

The grey rectangle is moved to the bottom left of the page (but the white text "Super lib..." remains there)

So I guess Its somehow similar to the issue about text being moved after redaction

How to reproduce the bug

here the pdf file to test
issue.pdf

(the pdf is exported from overleaf/latex)

PyMuPDF version

1.24.5

Operating system

MacOS

Python version

3.12

Metadata

Metadata

Assignees

No one assigned

    Labels

    fix developedrelease schedule to be determinedupstream bugbug outside this package

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions