[ 
https://issues.apache.org/jira/browse/FOP-2207?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Robert Meyer updated FOP-2207:
------------------------------

    Attachment: patch.diff
                test.fo
                fop.xconf
                example.pdf
                before.pdf
                after.pdf

The attached example uses a source resolution of 144 which is double the 
standard. From the before.pdf, you can see that it is scaling the pdf image 
even though it shouldn't be. The fix results in the correct scaling.
                
> fo:external-graphic when using a PDF was being scaled incorrectly based on 
> source resolution
> --------------------------------------------------------------------------------------------
>
>                 Key: FOP-2207
>                 URL: https://issues.apache.org/jira/browse/FOP-2207
>             Project: Fop
>          Issue Type: Bug
>          Components: images
>    Affects Versions: trunk
>            Reporter: Robert Meyer
>            Assignee: Robert Meyer
>            Priority: Minor
>             Fix For: trunk
>
>         Attachments: after.pdf, before.pdf, example.pdf, fop.xconf, 
> patch.diff, test.fo
>
>
> When using fo:external-graphic referencing a PDF page and also specifying a 
> source resolution, the PDF page would not appear as expected as a full size 
> image and instead being scaled according to this value. This is because of a 
> recent fix regarding the source resolution and images scaling correctly. I 
> will post an example and patch shortly to the fop-pdf-images plugin.

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira

Reply via email to