This week's book giveaway is in the OO, Patterns, UML and Refactoring forum. We're giving away four copies of Refactoring for Software Design Smells: Managing Technical Debt and have Girish Suryanarayana, Ganesh Samarthyam & Tushar Sharma on-line! See this thread for details.
How are you trying to convert that into a PDF? In which way isn't it working? TellTheDetails.
Joined: Jul 25, 2013
I am trying converting svg to pdf using Apache FOP 0.95 version.
I am having simple pojo object with name, number and svgcontent. Then this pojo will be convert into xml using JAXB and passed as stream to transform(src, res) method.
The mapping of these 3 attributes are given in the xsl.
Now simple text are coming in the pdf but not the image [svg content].
In the xsl, if we place the svg content as static then it is generating the pdf with image.
Joined: Mar 22, 2005
If this was my problem, I'd start by using the current version of FOP, which is 1.1. Then I'd try to get the examples working that come with it - there are inline SVG examples which presumably work out of the box.