diff options
author | Jay Berkenbilt <ejb@ql.org> | 2021-02-02 21:55:18 +0100 |
---|---|---|
committer | Jay Berkenbilt <ejb@ql.org> | 2021-02-03 00:06:05 +0100 |
commit | faa2e3ddfd7e5bfd0922deb49b9c88e8eee08fbd (patch) | |
tree | 3135b09a275e9032b3994e9f80abc18793e245b7 /ChangeLog | |
parent | 81025e499893c38b40aa824a5abc43393a8afed1 (diff) | |
download | qpdf-faa2e3ddfd7e5bfd0922deb49b9c88e8eee08fbd.tar.zst |
Handle older PDFs whose form XObjects inherit resources (fixes #494)
When removing unreferenced resources, notice if a page (recursively)
contains a form XObject with unreferenced resources, and count any
such resources as referenced by the page.
Diffstat (limited to 'ChangeLog')
-rw-r--r-- | ChangeLog | 9 |
1 files changed, 9 insertions, 0 deletions
@@ -1,3 +1,12 @@ +2021-02-02 Jay Berkenbilt <ejb@ql.org> + + * Bug fix: if a form XObject lacks a resources dictionary, + consider any names in that form XObject to be referenced from the + containing page. This is compliant with older PDF versions. Also + detect if any form XObjects have any unresolved names and, if so, + don't remove unreferenced resources from them or from the page + that contains them. Fixes #494. + 2021-01-31 Jay Berkenbilt <ejb@ql.org> * Bug fix: properly handle strings if they appear in inline image |