[poppler] Documents with empty form fields array

Carlos Garcia Campos carlosgc at gnome.org
Tue Nov 10 10:08:06 PST 2009


Hi all,

we have a bug in evince about not editable forms which has already
several duplicates, see:

https://bugzilla.gnome.org/show_bug.cgi?id=535143

Poppler doesn't handle the form fields in those documents because the
Fields array in the document catalog is empty, for example:

4 0 obj
 << /Fields [] /DR << /Font << /ZaDb 2 0 R /Helv 3 0 R >> >> /DA
 >> (/Helv 10 Tf 0 g ) /NeedAppearances true >>
endobj

Other document viewers not based on poppler like acroread correctly
detect the forms, so I'm wondering if the those documents are wrong
and acroread implements a workaround for it, or if documents are correct
and it's a poppler bug.

The spec says that Fields is a required entry in the Document Catalog
dictionary, and it's an array of references to the document's root
fields.

What do you think?
-- 
Carlos Garcia Campos
PGP key: http://pgp.mit.edu:11371/pks/lookup?op=get&search=0x523E6462
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 197 bytes
Desc: not available
Url : http://lists.freedesktop.org/archives/poppler/attachments/20091110/8779ea83/attachment.pgp 


More information about the poppler mailing list