Created attachment 60486 [details] Original document When editing and saving the PDF form available at http://www.oiq.qc.ca/Documents/DAP/permis/formulaire_inscription_examen_prof-fr.pdf, the resulting PDF is not open-able in Adobe Reader X (10.1.1). When trying to open the document with Adobe Reader X under Windows 7, I get the following error : "There was an error opening this document. There was a problem reading this document (14)." (from https://bugs.launchpad.net/ubuntu/+source/evince/+bug/897322)
Created attachment 60487 [details] [review] Proof-of-concept patch I'm attaching a proof-of-concept patch that seems to fix the issue. It outputs a XRef stream (instead of a table) if the newest XRef is a stream (as it's the case with this document). I couldn't find in the PDF specs the reason why it works.
*** Bug 38761 has been marked as a duplicate of this bug. ***
Fixed in 0.19.4 (commit b1d5c6c0a20a4a24b42de66db23e0f63d10ca52d)
Use of freedesktop.org services, including Bugzilla, is subject to our Code of Conduct. How we collect and use information is described in our Privacy Policy.