Robert Meyer updated FOP-2174:

    Attachment: test.fo

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

Reply via email to