xmlgraphics-fop-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Andreas L Delmelle <a_l.delme...@pandora.be>
Subject Re: AW: ezmlm response
Date Wed, 02 Nov 2005 17:02:44 GMT
On Nov 2, 2005, at 15:10, Martin Hilpert wrote:

Hi,

> I read about this error message:
>
>     "Some content could not fit into a line/page after 50 attempts.  
> Giving up to avoid an endless loop."
>
> for <fo:external-graphic> with the workaround to add the parameter  
> content-width="scale-to-fit".
>
> But I get this error message also when I include a SVG file:
>
>     <fo:instream-foreign-object >
>         <svg:svg width="120mm" height="120mm" xmlns:xlink="http:// 
> www.w3.org/2000/svg">
>             <svg:image width="120mm" height="120mm"  
> xlink:href="{$chart}"/>
>         </svg:svg>
>     </fo:instream-foreign-object>
>
> I tried adding content-width="scale-to-fit" to both <svg:svg> and  
> <svg:image> lines, but it doesn't work. I also played with  
> different sizes without success.

Don't add 'content-width' to the svg element, but to the fo:instream- 
foreign-object (+ if necessary: also the width and height  
properties). That should work (in theory).

HTH!

Cheers,

Andreas


---------------------------------------------------------------------
To unsubscribe, e-mail: fop-users-unsubscribe@xmlgraphics.apache.org
For additional commands, e-mail: fop-users-help@xmlgraphics.apache.org


Mime
View raw message