Sierra produces corrupt pdf files

A colleague just bought a new Mac with 10.12. The pdf files he creates, eg from Safari, all contain invalid pdf.

Running ps2pdf on them says:


**** Warning: considering '0000000000 XXXXX n' as a free entry.

**** Warning: considering '0000000000 XXXXX n' as a free entry.


**** This file had errors that were repaired or ignored.

**** The file was produced by:

**** >>>> Mac OS X 10.12 Quartz PDFContext <<<<

**** Please notify the author of the software that produced this

**** file that it does not conform to Adobe's published PDF

**** specification.

These files actually crash the pdf viewer that I usually use (atril), though the errors are silently ignored in acroread.

macOS Sierra (10.12)

Posted on Nov 22, 2016 10:36 PM

Reply
22 replies

Dec 14, 2017 9:40 AM in response to camichal

I can also confirm that PDF generation on Sierra and later is not conforming to spec somehow. Acrobat's Preflight test for PDF syntax reports "Incorrect value type for this key" on all Mac PDFs. Ghostscript generates the error message listed above.
Other PDF generators do not produce the error.

Sierra also garbles metadata when you encrypt PDFs in Preview, though this seems to have been fixed in High Sierra.

This thread has been closed by the system or the community team. You may vote for any posts you find helpful, or search the Community for additional answers.

Sierra produces corrupt pdf files

Welcome to Apple Support Community
A forum where Apple customers help each other with their products. Get started with your Apple Account.