From d8900c2255d12adbe9342ea751403740ca7a826d Mon Sep 17 00:00:00 2001 From: Jay Berkenbilt Date: Mon, 1 Dec 2014 14:44:47 -0500 Subject: Handle page tree node with no /Type Original reported here: https://bugs.launchpad.net/ubuntu/+source/qpdf/+bug/1397413 The PDF specification says that the /Type key for nodes in the pages dictionary (both /Page and /Pages) is required, but some PDF files omit them. Use the presence of other keys to determine the type of pages tree node this is if the type key is not found. --- ChangeLog | 8 ++++++++ 1 file changed, 8 insertions(+) (limited to 'ChangeLog') diff --git a/ChangeLog b/ChangeLog index 77ab74b9..72cef333 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,11 @@ +2014-12-01 Jay Berkenbilt + + * Some broken PDF files lack the required /Type key for /Page and + /Pages nodes in the page dictionary. QPDF now uses other methods + to figure out what kind of node it is looking at so that it can + handle those files. Original reported at + https://bugs.launchpad.net/ubuntu/+source/qpdf/+bug/1397413 + 2014-11-14 Jay Berkenbilt * Bug fix: QPDFObjectHandle::getPageContents() no longer throws an -- cgit v1.2.3-54-g00ecf