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 mi...@post.ch on 2005/12/06 12:31:37 UTC
Error with fo:instream-foreign-object and SVG
Hi all,
I have the following error, but no ide on how to fix it!
(...)
Intrinsic dimensions of instream-foreign-object could not be determined
(...)
Here is the portion of code
(...)
<fo:table-cell border-width="0.5pt" border-style="solid">
<fo:block>
<fo:instream-foreign-object>
<svg:svg xmlns:svg="http://www.w3.org/2000/svg"
width="10px" height="10px" viewBox="0 0 50 50"
preserveAspectRatio="xMinYMin meet" kerning="0" style="stroke: black;
fill: none;">
<svg:g>
<svg:rect x="0" y="0"
width="50" height="50" style="fill: green; stroke: rgb(0,0,0);
stroke-opacity: 50; stroke-width: 1;"/>
</svg:g>
</svg:svg>
</fo:instream-foreign-object>
</fo:block>
</fo:table-cell>
(...)
Thanks for your help
Regards
Lawrence Michel
---------------------------------------------------------------------
To unsubscribe, e-mail: fop-users-unsubscribe@xmlgraphics.apache.org
For additional commands, e-mail: fop-users-help@xmlgraphics.apache.org
Re: Error with fo:instream-foreign-object and SVG
Posted by Chris Bowditch <bo...@hotmail.com>.
michella@post.ch wrote:
> Hi all,
>
> I have the following error, but no ide on how to fix it!
You don't say which version of FOP you use, 0.20.5, or 0.90alpha1??
>
> (...)
> Intrinsic dimensions of instream-foreign-object could not be determined
> (...)
The message seems to say that you must specify a width and height on the
instream-foreign-object. However, I must say that I'm surprised by this
message. The size can usually be worked out automatically....
<snip/>
Chris
---------------------------------------------------------------------
To unsubscribe, e-mail: fop-users-unsubscribe@xmlgraphics.apache.org
For additional commands, e-mail: fop-users-help@xmlgraphics.apache.org