Closed TheLastAurora closed 1 week ago
I confirm that it works in PyMuPDF==1.24.5
and pymupdf4llm==0.0.16
What has pymupdf4llm to do with this?
You are aware that you are trying to crack a walnut with a sledgehammer? You just want to remove the "|" characters, right? Then do not try to write a space in the same place - in addition to requesting that that space should be centered in the available area 😂.
But you probably were just kidding and intended to fool the method with an impossible task. So thanks for the opportunity to make the method more watertight!
What has pymupdf4llm to do with this?
Sorry, I'm using in another part of the code that works fine, so nothing to do with that, just PyMuPDF.
Fixed in PyMuPDF-1.24.14.
Description of the bug
Calling
page.add_redact_annot()
in a specific PDF page results in segfault (segmentation fault (core dumped)).How to reproduce the bug
file: test-1-24.pdf
PyMuPDF version
1.24.13
Operating system
Linux
Python version
3.12