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

Jan Tošovský updated FOP-3187:
------------------------------
    Component/s: image/svg
                     (was: layout/block)
        Summary: Unexpected size of the SVG image if dimensions are not 
specified  (was: Unexpected height of absolutely positioned block-container 
filled with SVG image)

Changing the subject as the issue is caused by missing width/height dimensions 
in the SVG file. This issue is rather Batik's behavior. In XEP, default 
dimensions are taken from viewBox. In Batik, missing dimensions are set to 
400x400 px.

> Unexpected size of the SVG image if dimensions are not specified
> ----------------------------------------------------------------
>
>                 Key: FOP-3187
>                 URL: https://issues.apache.org/jira/browse/FOP-3187
>             Project: FOP
>          Issue Type: Bug
>          Components: image/svg
>    Affects Versions: 2.9
>            Reporter: Jan Tošovský
>            Priority: Major
>         Attachments: container_no_scaling.fo, container_no_scaling_fop.pdf, 
> container_no_scaling_xep.pdf, container_scaling.fo, 
> container_scaling_fop.pdf, container_scaling_xep.pdf, image.png, image.svg
>
>
> The container height equals its width if the absolutely positioned 
> block-container is filled with an SVG image. It works fine with raster images.
> See container_scaling.fo with generated PDF outputs in FOP and XEP.
> Comparing FOP and XEP outputs I can also see the difference in the default 
> size if scaling is not specified, see container_no_scaling.fo with PDF 
> outputs.



--
This message was sent by Atlassian Jira
(v8.20.10#820010)

Reply via email to