[ 
https://issues.apache.org/jira/browse/FOP-2193?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13651695#comment-13651695
 ] 

Vincent Hennebert commented on FOP-2193:
----------------------------------------

You have to generate the PDF from the IF:
fop -c fop.xconf svg-if-space.fo -if application/pdf if.xml
fop -c fop.xconf -ifin if.xml svg-if-space.pdf
                
> 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: general
>    Affects Versions: trunk
>            Reporter: Vincent Hennebert
>         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 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