[poppler] Form Field Rendering Bugs

Iñigo Martínez inigomartinez at gmail.com
Fri Feb 1 01:47:45 PST 2008


2008/2/1, Michael Vrable <mvrable at cs.ucsd.edu>:
> I've been very excited to find that poppler has gained support for
> filling in forms; this is excellent work as forms were one of the few
> things that forced me to occasionally use the Adobe Reader.
>
> While testing forms support out, though, I noticed that sometimes text
> wasn't being placed properly, and found that this was already reported
> as bug #12808 (https://bugs.freedesktop.org/show_bug.cgi?id=12808).
> I've figured out the cause, and added some comments to the bug report.
>
> I'm currently working on a cleaner patch for the problem (which involves
> decoding UTF-16 strings earlier in the text display routine for forms,
> before computing the width, and I think a few bugfixes in string
> re-encoding functions).
>
> I'm fairly new here.  What is the preferred method for sending patches?
> Should I attach them to the bug report, or should I send them
> (especially preliminary patches, or other bugfixes that I find) to this
> list?
>
> Finally, I've noticed that Iñigo Martínez is currently working on
> annotation support.  Is there any danger of conflicts, given that the
> display of form fields is part of the annotations code (is the
> annotations work expected to be modifying the code for forms)?
>

There will be conflicts yes. When I started coding, Links and Forms
were supported. Links are a specific type of annotations and the form
fields aka widgets another one. The Annot support then (and still is
today) was very oriented to forms.

At the moment I have tried to split the generic Annot and the specific
Widget (Form) support with little success. I have created an
AnnotWidget class where the Widget code should go. So sometime in the
future, once the specific code is taken out from the generic side it
should be merged in this class.

In the Links case maybe it could be easier, as they are implemented
alone outside of Annot implementation.

I have them both as task for the future, lately I have been merging
the code I did the last summer, but unfortunely I my spare time for
coding poppler is very short :_(.

> --Michael Vrable
> _______________________________________________
> poppler mailing list
> poppler at lists.freedesktop.org
> http://lists.freedesktop.org/mailman/listinfo/poppler
>


More information about the poppler mailing list