#14739: qpdf-10.3.0
-------------------------+------------------------------
Reporter: bdubbs | Owner: pierre.labastie
Type: enhancement | Status: assigned
Priority: normal | Milestone: 10.2
Component: BOOK | Version: SVN
Severity: normal | Resolution:
Keywords: |
-------------------------+------------------------------
Comment (by pierre.labastie):
{{{
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.
}}}
--
Ticket URL: <http://wiki.linuxfromscratch.org/blfs/ticket/14739#comment:2>
BLFS Trac <http://wiki.linuxfromscratch.org/blfs>
Beyond Linux From Scratch
--
http://lists.linuxfromscratch.org/listinfo/blfs-book
FAQ: http://www.linuxfromscratch.org/blfs/faq.html
Unsubscribe: See the above information page