[poppler] XPDF 3.02 merged in work branch

Julien Rebetez julien at fhtagn.net
Thu May 10 12:07:27 PDT 2007


On Sat, 2007-04-14 at 19:12 -0400, Jeff Muizelaar wrote:
> On Sat, Apr 14, 2007 at 01:10:16PM +0200, Julien Rebetez wrote:
> > All your forms test files are displayed correctly with this patch on my
> > machine.
> 
> The 302 branch shares the same rendering regression that HEAD has.
> I put up the ref and out images up at http://infidigm.net/~jeff/forms/
> 
> -Jeff

Regarding "Javascripts.pdf" :
- The sentence that is missing ("Do you know there are hundreds of
third...") is an Annotation with the hidden/print (F = 6) flags set.
>From what I see in acrobat, this annotation should be visible when the
mouse cursor is over the blue logo. Since I think this features require
Javascript, it's correct to draw nothing in poppler.

- Regarding the blue logo, the bug come from the fact that appearance
generation must only be done for text or choice fields [1](or other
fields that contains text). In HEAD (and I think that was my form patch
that added this bug), appearance generation is done for all fields,
regardless of their type. The attached patch should correct this
behaviour.

Regarding "psXObject.pdf" : 
- The difference here basically is the new line just after "This" in
poppler's rendering. I think this is the correct behaviour since if you
look at the /V of the text field, there is a \n just after "This".
Acrobat doesn't seems to care about these newlines though.

Regarding "XFAForms.pdf" :
- The rendering looks correct with HEAD

Regards,
Julien



[1] PDFReference, section 8.6.2, "Variable Text"
-------------- next part --------------
A non-text attachment was scrubbed...
Name: javascript_regression.patch
Type: text/x-patch
Size: 2808 bytes
Desc: not available
Url : http://lists.freedesktop.org/archives/poppler/attachments/20070510/c781730f/attachment.bin 


More information about the poppler mailing list