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 Phillip Rhodes <rh...@telerama.com> on 2003/04/04 05:06:38 UTC
svg does not scale or respect other blocks space.
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&title=Health+Score&showLegend=true&series=June+2002&chartValues=11&chartValues=46&chartValues=80&chartValues=1&chartValues=1&chartValues=84&chartValues=31&chartValues=30&preexisting=0&preexisting=0&preexisting=0&preexisting=0&preexisting=0&preexisting=0&preexisting=0&preexisting=0&categories=Cancer&categories=Heart+Disease&categories=Diabetes&categories=Emphysema&categories=Cirrhosis&categories=Arthritis&categories=Overall&categories=Self-assessed+Health&chartType=1&pdf=1&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