xmlgraphics-fop-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Robert Meyer (JIRA)" <j...@apache.org>
Subject [jira] [Updated] (FOP-2174) When using SVG drawings, if no content-width and content-height is specified, 72 will be used instead of the source-resolution option.
Date Tue, 18 Dec 2012 10:12:14 GMT

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

Robert Meyer updated FOP-2174:
------------------------------

    Attachment: test.fo
                output-144.pdf
                patch.diff

Here is the patch with the fix for this issue. I have also attached a PDF showing off this
issue. As you can see from the FO, the only difference between the two red square SVG drawings
are that one uses the content-width and height and obeys the source-resolution, and the other
does not and therefore uses a default 72.

There is also a separate small issue with XGC which I will post in a related patch relating
to it scaling images on that side. To avoid it scaling an image twice, the change will simply
be to make FOP do the scaling. Please post if you have any concerns or comments.
                
> When using SVG drawings, if no content-width and content-height is specified, 72 will
be used instead of the source-resolution option.
> --------------------------------------------------------------------------------------------------------------------------------------
>
>                 Key: FOP-2174
>                 URL: https://issues.apache.org/jira/browse/FOP-2174
>             Project: Fop
>          Issue Type: Bug
>          Components: images
>    Affects Versions: all
>            Reporter: Robert Meyer
>            Priority: Minor
>             Fix For: all
>
>         Attachments: output-144.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

Mime
View raw message