xmlgraphics-fop-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Phillip Rhodes <rhode...@telerama.com>
Subject svg does not scale or respect other blocks space.
Date Fri, 04 Apr 2003 03:06:38 GMT

I can very easily swap image formats in my program.  I did some testing 
with svg, jpg and png.

1)	jpg and png will not "overwrite" other blocks.  With SVG, the image will 
overlay over text.  It seems not to respect other fo:blocks, even if I put 
the external graphic into a fo block.

2) 	the svg does not get scaled to the width that I specify.  PNG and JPG 
do get scaled down.

Has anyone else encounted these problems?  Let me know.
Thanks.



                                     <fo:block>

                                        <fo:external-graphic 
content-width="13cm" width="13cm" 
src="url('http://localhost:8080/hra/chart?val=x&amp;title=Health+Score&amp;showLegend=true&amp;series=June+2002&amp;chartValues=11&amp;chartValues=46&amp;chartValues=80&amp;chartValues=1&amp;chartValues=1&amp;chartValues=84&amp;chartValues=31&amp;chartValues=30&amp;preexisting=0&amp;preexisting=0&amp;preexisting=0&amp;preexisting=0&amp;preexisting=0&amp;preexisting=0&amp;preexisting=0&amp;preexisting=0&amp;categories=Cancer&amp;categories=Heart+Disease&amp;categories=Diabetes&amp;categories=Emphysema&amp;categories=Cirrhosis&amp;categories=Arthritis&amp;categories=Overall&amp;categories=Self-assessed+Health&amp;chartType=1&amp;pdf=1&amp;format=svg')"

/>

                                     </fo:block>


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


Mime
View raw message