You are viewing a plain text version of this content. The canonical link for it is here.
Posted to fop-dev@xmlgraphics.apache.org by bu...@apache.org on 2002/10/09 12:32:29 UTC
DO NOT REPLY [Bug 12630] -
resizing images
DO NOT REPLY TO THIS EMAIL, BUT PLEASE POST YOUR BUG
RELATED COMMENTS THROUGH THE WEB INTERFACE AVAILABLE AT
<http://nagoya.apache.org/bugzilla/show_bug.cgi?id=12630>.
ANY REPLY MADE TO THIS MESSAGE WILL NOT BE COLLECTED AND
INSERTED IN THE BUG DATABASE.
http://nagoya.apache.org/bugzilla/show_bug.cgi?id=12630
resizing images
------- Additional Comments From Christopher.Ward@metoffice.com 2002-10-09 10:32 -------
Gif anf JPEG are scaled correctly, but with SVG the image is contained in an
area of the requested size, but the SVG content is not scaled. I.e.
<fo:external-graphic src="file:boxes.svg"/>
<fo:external-graphic src="file:boxes.svg" width="2in" />
<fo:external-graphic src="file:boxes.svg" width="3in" />
<fo:external-graphic src="file:boxes.svg" width="50mm" />
<fo:external-graphic src="file:../../graphics/xml_feather_transparent.gif"/>
<fo:external-graphic src="file:../../graphics/xml_feather_transparent.gif"
width="2in" />
<fo:external-graphic src="file:../../graphics/xml_feather_transparent.gif"
width="3in" />
<fo:external-graphic src="file:../../graphics/xml_feather_transparent.gif"
width="50mm" />
The GIFs are all scaled correctly, but the SVG all apper the same size, with
lots of white space around them. This was tested by adding these lines to the
svg/external.fo example
---------------------------------------------------------------------
To unsubscribe, e-mail: fop-dev-unsubscribe@xml.apache.org
For additional commands, email: fop-dev-help@xml.apache.org