cocotron
cocotron copied to clipboard
PDF Pages must be indirect objects
The PDF found in this issue of PDF.js
https://github.com/mozilla/pdf.js/issues/9540
has a page object as direct object. This must be an indirect object, see "Kids" in "Page Tree" in the PDF specification: "An array of indirect references to the immediate children of this node. The children shall only be page objects or other page tree nodes."