IN THEORY you could do it per-page, but it would be a LOT more complex to implement since you'd still need to have back-pointers to the information in the /AcroForm dictionary from the catalog.
Better to simply load that entire dictionary (and it's children) when encountered. It's why linearization and forms do NOT mix :(. Leonard -----Original Message----- From: [email protected] [mailto:[email protected]] On Behalf Of Hib Eris Sent: Monday, April 05, 2010 3:37 PM To: [email protected] Subject: [poppler] Towards support for linearized PDFs Hi, As a first step towards support for linearized PDFs I have some patches that changes to way the Catalog is initialized. Much of the things it the Catalog are not always needed and their initialization can be deferred to when they are needed. This first batch of patches is fairly simple. The more invasive ones will come later. The last patch in this series is almost certainly incorrect, but I would like some input on it. It is dealing with form widgets. Question: can this postWidgetsLoad() be done on a per page basis, or is it something global to the whole document? Cheers, Hib _______________________________________________ poppler mailing list [email protected] http://lists.freedesktop.org/mailman/listinfo/poppler
