diff options
author | Jay Berkenbilt <ejb@ql.org> | 2019-01-29 02:13:10 +0100 |
---|---|---|
committer | Jay Berkenbilt <ejb@ql.org> | 2019-01-29 02:29:58 +0100 |
commit | 52f9d326a56e6409a1487c724241f91de33e3ba6 (patch) | |
tree | a45d1cc452d3d61a940b16cc6a6bb524b55f302b /ChangeLog | |
parent | 9e01c8bd996a15934f58979f447bea359e857875 (diff) | |
download | qpdf-52f9d326a56e6409a1487c724241f91de33e3ba6.tar.zst |
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.
Diffstat (limited to 'ChangeLog')
-rw-r--r-- | ChangeLog | 8 |
1 files changed, 8 insertions, 0 deletions
@@ -1,3 +1,11 @@ +2019-01-28 Jay Berkenbilt <ejb@ql.org> + + * When linearizing or getting the list of all pages in a file, + replace duplicated page objects with a shallow copy of the page + object. Linearization and all page manipulation APIs require page + objects to be unique. Pages that were originally duplicated will + still share contents and any other indirect resources. Fixes #268. + 2019-01-26 Jay Berkenbilt <ejb@ql.org> * Add --overlay and --underlay options. Fixes #207. |