[
https://issues.apache.org/jira/browse/FOP-3187?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=18068428#comment-18068428
]
Joao Goncalves commented on FOP-3187:
-------------------------------------
i feel like Batik should be able to use the viewbox if width/height are
missing. I'll have a look
> 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)