Opened 7 months ago

Closed 6 months ago

Last modified 6 weeks ago

#14739 closed enhancement (fixed)

qpdf-10.3.0

Reported by: Bruce Dubbs Owned by: Pierre Labastie
Priority: normal Milestone: 11.0
Component: BOOK Version: SVN
Severity: normal Keywords:
Cc:

Description

New minor version.

Change History (4)

comment:1 by Pierre Labastie, 7 months ago

Owner: changed from blfs-book to Pierre Labastie
Status: newassigned

comment:2 by Pierre Labastie, 7 months ago

10.3.0: March 4, 2021

        Bug Fixes

            The code for handling form fields when copying pages from 10.2.0 was not quite right and didn't work in a number of situations, such as when the same page was copied multiple times or when there were conflicting resource or field names across multiple copies. The 10.3.0 code has been much more thoroughly tested with more complex cases and with a multitude of readers and should be much closer to correct. The 10.2.0 code worked well enough for page splitting or for copying pages with form fields into documents that didn't already have them but was still not quite correct in handling of field-level resources.

            When QPDF::replaceObject or QPDF::swapObjects is called, existing QPDFObjectHandle instances no longer point to the old objects. The next time they are accessed, they automatically notice the change to the underlying object and update themselves. This resolves a very longstanding source of confusion, albeit in a very rarely used method call.

            Fix form field handling code to look for default appearances, quadding, and default resources in the right places. The code was not looking for things in the document-level interactive form dictionary that it was supposed to be finding there. This required adding a few new methods to QPDFFormFieldObjectHelper. 

        Library Enhancements

            Reworked the code that handles copying annotations and form fields during page operations. There were additional methods added to the public API from 10.2.0 and a one deprecation of a method added in 10.2.0. The majority of the API changes are in methods most people would never call and that will hopefully be superseded by higher-level interfaces for handling page copies. Please see the ChangeLog file for details.

            The method QPDF::numWarnings was added so that you can tell whether any warnings happened during a specific block of code. 

comment:3 by Pierre Labastie, 6 months ago

Resolution: fixed
Status: assignedclosed

Fixed at r24347

comment:4 by Bruce Dubbs, 6 weeks ago

Milestone: 10.211.0

Milestone renamed

Note: See TracTickets for help on using tickets.