Luca Mambretti updated FOP-2545:
    Attachment: AWTPrintRendererFixAttempt.patch

I've created a tentative patch that fixes the bug in the provided test case.

I'm fairly sure it is not complete and might screw something else up, but at 
least it should provide a starting point for anyone with more experience than 
me that wishes to create a complete fix.

> FOP -print option truncates headers and footers
> -----------------------------------------------
>                 Key: FOP-2545
>                 URL: https://issues.apache.org/jira/browse/FOP-2545
>             Project: FOP
>          Issue Type: Bug
>          Components: renderer/awt
>    Affects Versions: 1.1, 2.0, trunk
>         Environment: Windows 7,
> JRE 1.8
>            Reporter: Luca Mambretti
>         Attachments: AWTPrintRendererFixAttempt.patch, TESTFopPrint.pdf, 
> test.fo, test.pdf
> Using command line fop -print or -awt options the headers and footers of the 
> generated output gets truncated.
> Generating a pdf file with the pdf option works fine and the resulting pdf 
> contains all the required headers and footers
> I have tried FOP versions 1.1, 2.0, and the latest dev "20150902" at this 
> moment; none of them works as expected 0.95 is fine 1.0 seems fine with the 
> awt preview, but I was unable to get -print to work.

This message was sent by Atlassian JIRA

Reply via email to