You are viewing a plain text version of this content. The canonical link for it is here.
Posted to fop-users@xmlgraphics.apache.org by "Leet, Ethan C" <et...@lmco.com> on 2003/04/10 16:00:09 UTC
Graphics SVG
Hello,
I am using
<fo:block break-before="page">
<fo:instream-foreign-object>
<svg xmlns="http://www.w3.org/2000/svg" width="192"
height="600" xml:space="preserve">
.......
</svg>
</fo:instream-foreign-object>
</fo:block>
this element it include a SVG graphic.
I want the graphic on one page so the graphic will consume the
entire page.
Yet, when I view the PDF, I only see the top left corner of the
graphic.
How can I specify the size ?
Why don't I see the entire graphic ?
Doesn't the fo:block size to the entire page if it can ?
Thank you ..
---------------------------------------------------------------------
To unsubscribe, e-mail: fop-user-unsubscribe@xml.apache.org
For additional commands, e-mail: fop-user-help@xml.apache.org
Re: Graphics SVG
Posted by Jeremias Maerki <de...@greenmail.ch>.
You can wrap your svg element with another svg element where you specify
the dimensions of the graphic:
<svg xmlns="http://www.w3.org/2000/svg" width="10cm" height="8cm">
<svg xmlns="http://www.w3.org/2000/svg" width="192" height="600" xml:space="preserve">
[..]
</svg>
</svg>
On 10.04.2003 16:00:09 Leet, Ethan C wrote:
>
>
> Hello,
>
> I am using
>
> <fo:block break-before="page">
> <fo:instream-foreign-object>
> <svg xmlns="http://www.w3.org/2000/svg" width="192"
> height="600" xml:space="preserve">
> .......
> </svg>
> </fo:instream-foreign-object>
> </fo:block>
>
> this element it include a SVG graphic.
>
> I want the graphic on one page so the graphic will consume the
> entire page.
>
> Yet, when I view the PDF, I only see the top left corner of the
> graphic.
>
> How can I specify the size ?
>
> Why don't I see the entire graphic ?
>
> Doesn't the fo:block size to the entire page if it can ?
>
> Thank you ..
Jeremias Maerki
---------------------------------------------------------------------
To unsubscribe, e-mail: fop-user-unsubscribe@xml.apache.org
For additional commands, e-mail: fop-user-help@xml.apache.org