Bug 707966 - Applying redactions render Preview-created PDFs incorrectly
Summary: Applying redactions render Preview-created PDFs incorrectly
Status: UNCONFIRMED
Alias: None
Product: MuPDF
Classification: Unclassified
Component: mupdf (show other bugs)
Version: unspecified
Hardware: Macintosh All
: P2 normal
Assignee: Robin Watts
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2024-08-21 12:53 UTC by Jorj
Modified: 2024-09-03 15:37 UTC (History)
2 users (show)

See Also:
Customer:
Word Size: ---


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Jorj 2024-08-21 12:53:04 UTC
PyMuPDF issue: https://github.com/pymupdf/PyMuPDF/issues/3751
Problem file: https://github.com/user-attachments/files/16644815/output.pdf
    (and others in that issue post)

Problem description:
When a PDF was created using the Mac app "Preview", any redaction applied on some page, will display the resulting page incorrectly under Preview and some other, mostly Mac-related applications (UPDF, Safari browser among them).
The same page is displayed correctly on Adobe Acrobat, MuPDF, SumatraPDF, evince (Linux), Chrome browser, Edge browser and most other PDF viewers.

Firefox browser (Linux and Windows) also display the page erroneously ... however:
When saving the PDF with the clean and pretty option (which inserts white space / line breaks between appearance commands), the page will be again shown correctly in Firefox again.
But Preview and other Mac apps will continue to exhibit the problem.

Overall, this problem starts occurring with MuPDF 1.24 - versions before this behave as expected.