[poppler] [PATCH] Do not force checkboxes to change in unison

Albert Astals Cid aacid at kde.org
Tue Feb 19 14:23:53 PST 2008


A Dimarts 19 Febrer 2008, Michael Vrable va escriure:
> I've been having trouble with checkboxes in some PDF forms.
> Specifically, in http://www.irs.gov/pub/irs-pdf/f1040.pdf there are some
> groups of checkboxes (such as near line 1 and after line 77).  In these
> groups with the current poppler head, selecting one of the checkboxes
> causes all of them to be drawn as selected, which is not the desired
> behavior.
>
> The attached patch should be a fix for this problem.  I've tried to keep
> it simple.
>
> (Longer-term, I've been wondering if it is better to use the appearance
> streams in the appearance dictionary for drawing the checkbox states, if
> available, instead of always regenerating the check ourselves.  But that
> is a larger change, so I've avoided it for the moment.)
>
> --Michael Vrable

Patch's in.

Thanks :-)

Albert


More information about the poppler mailing list