Hi,

I am having troubles including SVG (generated in OpenOffice) in FOP (0.20.4). I included it using:

<fo:block>
<fo:external-graphic src="..\graphics\XSLEngine.svg"/>
</fo:block>

I get no error messages when processing this with FOP, but when I am opening the PDF in acrobat I get:
"There was an error processing a page: wrong operand type."


I already changed the Viewbox and added <g transform="scale(0.01)"> as suggested in earlier messages, but this does not help me.

The strange thing is that Batik has no problem opening this picture.

The smallest possible SVG that generates an error lookes like this:

<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE svg PUBLIC "-//W3C//DTD SVG 1.0//EN" "http://www.w3.org/TR/2001/REC-SVG-20010904/DTD/svg10.dtd";>
<svg width="102mm" height="65mm" viewBox="0 0 102 65">
<g transform="scale(0.01)">
<g style="font-family:Arial;font-size:423;font-weight:400">
<g style="stroke:none;fill:rgb(255,255,153)">
<polygon points="7624,1875 10196,1875 10196,3198 7624,3198 7624,1875"/>
</g>
<g style="stroke:rgb(0,0,0);fill:none">
<polyline points="8910,3198 7624,3198 7624,1875 10196,1875 10196,3198 8910,3198" style="fill:none"/>
</g>
<g style="stroke:none;fill:rgb(0,0,0)">
<text>
<tspan x="8467 8746 9098 " y="2683">XML
</tspan>
</text>
</g>
</g>
</g>
</svg>


What is wrong? FOP, Batik?

Regards,

Harm Kok


--------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]



Reply via email to