From 52f9d326a56e6409a1487c724241f91de33e3ba6 Mon Sep 17 00:00:00 2001 From: Jay Berkenbilt Date: Mon, 28 Jan 2019 20:13:10 -0500 Subject: Resolve duplicated page objects (fixes #268) When linearizing a file or getting the list of all pages in a file, detect if the pages tree contains a duplicated page object and, if so, shallow copy it. This makes it possible to have a one to one mapping of page positions to page objects. --- manual/qpdf-manual.xml | 7 +++++++ 1 file changed, 7 insertions(+) (limited to 'manual/qpdf-manual.xml') diff --git a/manual/qpdf-manual.xml b/manual/qpdf-manual.xml index b673be25..aaeaeb54 100644 --- a/manual/qpdf-manual.xml +++ b/manual/qpdf-manual.xml @@ -4410,6 +4410,13 @@ print "\n"; suite and properly handled. + + + Linearization and page manipulation APIs now detect and + recover from files that have duplicate Page objects in the + pages tree. + + -- cgit v1.2.3-54-g00ecf