Description
Sometimes, text or some letters are not properly redacted
Examples for failing documents
How to reproduce with PyMuPDF
document = pymupdf.Document("tests/data/samples_artifex/cff_reuses_private_dict.pdf")
page = document[0]
page.add_redact_annot(page.cropbox)
page.apply_redactions(text=pymupdf.PDF_REDACT_TEXT_REMOVE)
page.get_text()
returns
'p\np\n'
Upstream issues
Impact
It seems to be a very rare issue, it was found in only 1 of 1,000 PDF document samples, see #110.
## Description
Sometimes, text or some letters are not properly redacted
### Examples for failing documents
- [samples_artifex/cff_reuses_private_dict.pdf](https://github.com/ArtifexSoftware/tests/blob/master/pdf/cff_reuses_private_dict.pdf)
### How to reproduce with PyMuPDF
```py
document = pymupdf.Document("tests/data/samples_artifex/cff_reuses_private_dict.pdf")
page = document[0]
page.add_redact_annot(page.cropbox)
page.apply_redactions(text=pymupdf.PDF_REDACT_TEXT_REMOVE)
page.get_text()
```
returns
```
'p\np\n'
```
## Upstream issues
- https://github.com/pymupdf/PyMuPDF/issues/4944
## Impact
It seems to be a very rare issue, it was found in only 1 of 1,000 PDF document samples, see #110.