https://issues.apache.org/bugzilla/show_bug.cgi?id=54169
Bug ID: 54169 Summary: [PATCH] Resolution for Acrobat Pro bug with FOP PDF's due to nums array size Product: Fop Version: all Hardware: PC OS: Linux Status: NEW Severity: normal Priority: P2 Component: pdf Assignee: fop-dev@xmlgraphics.apache.org Reporter: rme...@hotmail.co.uk Classification: Unclassified Created attachment 29609 --> https://issues.apache.org/bugzilla/attachment.cgi?id=29609&action=edit Patch to split the nums array to avoid issue with Acrobat Pro A bug exists in Acrobat Pro where if the nums array is deemed to be too large when saving, Acrobat will split the array. If however, the array is broken on an odd element the odd item is split where it's ID is kept in the first array and its value is placed on the second leading to a "Bad Parameter" error when checking compatibility. There is no maximum size of the nums array given in the PDF specification, so why Acrobat is doing this is unknown (performance benefits maybe). To ensure that anyone editing a FOP PDF in Acrobat Pro does not come across this problem, this patch addresses it by splitting the nums array if it exceeds a value (50). -- You are receiving this mail because: You are the assignee for the bug.