Summary: | [PATCH] Acrobat throws an error when deleting a page of a large FOP generated PDF | ||
---|---|---|---|
Product: | Fop - Now in Jira | Reporter: | Luis Bernardo <lmpmbernardo> |
Component: | Assignee: | fop-dev | |
Status: | CLOSED FIXED | ||
Severity: | normal | ||
Priority: | P2 | ||
Version: | trunk | ||
Target Milestone: | --- | ||
Hardware: | All | ||
OS: | All | ||
Attachments: |
patch
example source and output |
Description
Luis Bernardo
2012-10-17 23:13:59 UTC
Created attachment 29493 [details]
patch
Well done Luis, but how did you find out that the problem was the /PageLabels given the Acrobat's non descriptive error ? Created attachment 29495 [details]
example source and output
Even though Acrobat was throwing an error it was nevertheless deleting the page. But I noticed that the thumbnail page images (in the left pane) were not being deleted. Since the labels of the thumbnails come from /PageLabels I decided to disable /PageLabels (by renaming it to, say, /PageLabelz) and see what would happen. The Acrobat error disappeared! Attached is an example *.fo source and the PDF output after and before the fix for those with Acrobat.
Thanks for the explanations and the example, it was a good catch. |