[jira] [Commented] (FOP-2193) Intermediate format introduces white space in SVG while it should not

"Joao Goncalves (Jira)" <[email protected]> Tue, 24 Mar 2026 18:41: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:comment-tabpanel&focusedCommentId=18068102#comment-18068102 ] 

Joao Goncalves commented on FOP-2193:
-------------------------------------

[~vhennebert] I believe this is fixed now

> 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)