xmlgraphics-general mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Robert Meyer (JIRA)" <j...@apache.org>
Subject [jira] [Updated] (XGC-76) [PATCH] Dependant on FOP-2174 - Change to XGC to support the changes in FOP for image scaling. Scaling by resolution is removed to avoid duplicate scaling.
Date Fri, 04 Jan 2013 15:54:13 GMT

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

Robert Meyer updated XGC-76:
----------------------------

    Attachment: test.fo
                output-144-wo-xgc-patch.pdf
                output-144-with-xgc-fop-patches.pdf
                output-72-wo-xgc-fop-patches.pdf
                fop.xconf

I have attached 5 files showing this issue. The first of these is output-72-wo-xgc-fop-patches.pdf.
This file displays everything using 72 which uses the default image size. As you can see,
the image with the rainbow is double the size of the two red squares. Note that the two redsquare
images are SVG whereas the rainbow image is a normal bitmap.

output-144-wo-xgc-patch.pdf shows that due to the changes made in FOP, all images are scaled,
however the rainbow image is scaled twice resulting it being the same size as the SVG images
now. This is because scaling occurred independently from FOP in XGC. Now that FOP handles
scaling across both SVG and other image types, this is uneccessary.

Finally, we have output-144-with-xgc-fop-patches.pdf which shows the fix where the rainbow
image is being scaled as expected.

I have attached both the FO and XCONF for testing purposes.
                
> [PATCH] Dependant on FOP-2174 - Change to XGC to support the changes in FOP for image
scaling. Scaling by resolution is removed to avoid duplicate scaling.
> -----------------------------------------------------------------------------------------------------------------------------------------------------------
>
>                 Key: XGC-76
>                 URL: https://issues.apache.org/jira/browse/XGC-76
>             Project: XMLGraphicsCommons
>          Issue Type: Bug
>    Affects Versions: 1.4
>            Reporter: Robert Meyer
>            Assignee: Chris Bowditch
>         Attachments: fop.xconf, output-144-with-xgc-fop-patches.pdf, output-144-wo-xgc-patch.pdf,
output-72-wo-xgc-fop-patches.pdf, patch.diff, test.fo
>
>


--
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

---------------------------------------------------------------------
To unsubscribe, e-mail: general-unsubscribe@xmlgraphics.apache.org
For additional commands, e-mail: general-help@xmlgraphics.apache.org


Mime
View raw message