Skip to content
Snippets Groups Projects
Commit 9ce4e0f3 authored by Sven M. Hallberg's avatar Sven M. Hallberg
Browse files

only call parse_catalog if /Root entry is present and of expected type

Fixes #42.

NB: The code in parse_xrefs() assumed the presence of a /Root entry in the
trailer dictionary. Such code arguably does not belong in that function,
whose purpose is to obtain the xref data, not to process the document. But
where ever it belongs, the assumption is incorrect, so this fixes the
immediate issue in place.
parent 222781c8
No related branches found
No related tags found
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment