Closed dustwanderer closed 4 weeks ago
I think you should report the issue to the upstream, I mean poppler developers. MSYS2 just packages it.
I can not reproduce the issue with a test pdf file. The new pdf file can be opened in okular without any error.
The issue was reported to poppler from a Linux user https://gitlab.freedesktop.org/poppler/poppler/-/issues/1521
I can not reproduce the issue in ArchLinux either. I have commented that in the poppler issue.
Description / Steps to reproduce the issue
pdftocairo.exe -pdf "original.pdf" "corrected.pdf"
Expected behavior
pdftocairo.exe
corrects a defective "original.pdf" archive into a new "corrected.pdf" archive without errors.Actual behavior
"cairo error: out of memory" A new "corrected.pdf" is created, but "Acrobat 3D 8" can not open it, Acrobat claims that the archive is damaged and can't be repaired.
Verification
Windows Version
MSYS_NT-10.0-22631
MINGW environments affected
Are you willing to submit a PR?
No response