From c71dc6888c69aea7a892b313e07dba377200a6c9 Mon Sep 17 00:00:00 2001 From: Jay Berkenbilt Date: Fri, 22 Jun 2018 10:45:31 -0400 Subject: Don't prune resource dictionaries on errors or by request If we are unable to filter a page's content streams, don't attempt to remove objects from the page's resource dictionary. Also provide a command line option to suppress resource removal in case we ever need this as a workaround for some bug or broken PDF files. --- ChangeLog | 6 ++++++ 1 file changed, 6 insertions(+) (limited to 'ChangeLog') diff --git a/ChangeLog b/ChangeLog index ae15e68d..db9bee08 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,9 @@ +2018-06-22 Jay Berkenbilt + + * Add new option --preserved-unreferenced-resources, which + suppresses removal of unreferenced objects from page resource + dictionaries during page splitting operations. + 2018-06-21 Jay Berkenbilt * Add method QPDFPageObjectHelper::removeUnreferencedResources and -- cgit v1.2.3-54-g00ecf