From 4ccb29912a28e78b130091b8e66ccaa79c626ae7 Mon Sep 17 00:00:00 2001 From: Jay Berkenbilt Date: Sat, 20 Apr 2019 17:47:51 -0400 Subject: Tighten isPageObject (fixes #310) --- ChangeLog | 9 +++++++++ 1 file changed, 9 insertions(+) (limited to 'ChangeLog') diff --git a/ChangeLog b/ChangeLog index 5f464987..e62317b8 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,5 +1,14 @@ 2019-04-20 Jay Berkenbilt + * Slightly tighten logic that determines whether an object is a + page. The previous logic was sometimes failing to preserve + annotations because they were passing the overly loose test for + whether something was a page. This fix has a slight risk of + causing some extraneous objects to be copied during page splitting + and merging for erroneous PDF files whose page objects contain + invalid types or are missing the /Type key entirely, both of which + would be invalid according to the PDF specification. + * Revert change that included preservation of outlines (bookmarks) in --split-pages. The way it was implemented caused a very significant performance penalty when splitting pages with -- cgit v1.2.3-54-g00ecf