Bug 49080 - PDF file modified by poppler is not compatible with acroread
Summary: PDF file modified by poppler is not compatible with acroread
Status: RESOLVED FIXED
Alias: None
Product: poppler
Classification: Unclassified
Component: general (show other bugs)
Version: unspecified
Hardware: All All
: medium normal
Assignee: poppler-bugs
QA Contact:
URL:
Whiteboard:
Keywords:
: 38761 (view as bug list)
Depends on:
Blocks:
 
Reported: 2012-04-23 08:47 UTC by Fabio D'Urso
Modified: 2012-04-27 05:46 UTC (History)
1 user (show)

See Also:
i915 platform:
i915 features:


Attachments
Original document (34.51 KB, application/force-download)
2012-04-23 08:47 UTC, Fabio D'Urso
Details
Proof-of-concept patch (8.18 KB, patch)
2012-04-23 09:08 UTC, Fabio D'Urso
Details | Splinter Review

Description Fabio D'Urso 2012-04-23 08:47:40 UTC
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)
Comment 1 Fabio D'Urso 2012-04-23 09:08:25 UTC
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.
Comment 2 Fabio D'Urso 2012-04-23 11:03:18 UTC
*** Bug 38761 has been marked as a duplicate of this bug. ***
Comment 3 Fabio D'Urso 2012-04-27 05:46:59 UTC
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.