I'm very sorry but this does not work either. Within the svg-element width
and height determines the area the graphic may use and viewBox determines the
size of the graphic, right?
Example:
<fo:block>some text...
<fo:instream-foreign-object>
<svg xmlns="http://www.w3.org/2000/svg" width="60" height="20"
viewBox="0 0 125 125" xml:space="preserve">
<rect x="0" y="0" width="125" height="125" style="fill:yellow"
/>
<path style="fill:red" d="M 75,10 L 25,60 L 125,60 z"/>
<text x="10" y="20" style="font-size:18;
font-family:Verdana">Stretch to fit</text>
</svg>
</fo:instream-foreign-object>
with an image between...
</fo:block>
But instead of scaling the graphic into the available area of 60 x 20 pixels
I only see the upper right corner of the graphic, 60 x 20 pixels
respectively.
What's wrong?
So, here is my last call for any hints or solutions. Maybe you could send me
an example that works.
Thanks a lot!
Thorsten.
> Okay, I got it wrong.
> You need to put the view box on an svg element and that works for me.
>
> The point is though, if it works for batik it will work for svg in fop.
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: [EMAIL PROTECTED]
> For additional commands, email: [EMAIL PROTECTED]
>
--
GMX - Die Kommunikationsplattform im Internet.
http://www.gmx.net
--
GMX Tipp:
Machen Sie Ihr Hobby zu Geld bei unserem Partner 1&1!
http://profiseller.de/info/index.php3?ac=OM.PS.PS003K00596T0409a
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, email: [EMAIL PROTECTED]