[poppler] Towards support for linearized PDFs

Leonard Rosenthol lrosenth at adobe.com
Tue Apr 6 04:29:24 PDT 2010


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: poppler-bounces at lists.freedesktop.org [mailto:poppler-bounces at lists.freedesktop.org] On Behalf Of Hib Eris
Sent: Monday, April 05, 2010 3:37 PM
To: poppler at lists.freedesktop.org
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


More information about the poppler mailing list