[jira] [Closed] (FOP-2193) Intermediate format introduces white space in SVG while it should not
"Joao Goncalves (Jira)" <[email protected]> Tue, 24 Mar 2026 18:42:00 +0000 (UTC)
| Newsgroups | gmane.text.xml.fop.devel |
|---|---|
| Message-ID | <[email protected]> |
[ https://issues.apache.org/jira/browse/FOP-2193?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Joao Goncalves closed FOP-2193.
-------------------------------
Resolution: Not A Problem
> Intermediate format introduces white space in SVG while it should not
> ---------------------------------------------------------------------
>
> Key: FOP-2193
> URL: https://issues.apache.org/jira/browse/FOP-2193
> Project: FOP
> Issue Type: Bug
> Components: unqualified
> Affects Versions: 2.5
> Reporter: Vincent Hennebert
> Priority: Major
> Attachments: actual.pdf, expected.pdf, fop.xconf, if.xml, svg-if-space.fo
>
>
> An xml:space="preserve" directive in an SVG image stored as an instream-foreign-object is not honoured. If an svg:text has an svg:tspan as a first child, that tspan will be put on the next line in the IF output no matter what, resulting into a space being added (coming from the newline between the text and the tspan) when rendering the IF into e.g., PDF.
--
This message was sent by Atlassian Jira
(v8.20.10#820010)