This is probably not the definitive answer but if you specify the proper width and height in the actual svg document it should be sized correctly in the resulting pdf document. FOP handles svg documents differently than other images. It internally maps these images to pdf graphic objects. For this reason i think (keywords: i think) it doesn't even try to scale it.
-Adam -----Original Message----- From: Olivier Imbert [mailto:[EMAIL PROTECTED] Sent: April 28, 2003 10:21 AM To: [EMAIL PROTECTED] Subject: Newbie question about SVG I use to got external graphics in my fo document. When I use a BMP, PNG or EPS graphics, it is correct : <fo:external-graphic content-height="auto" content-width="auto" height="auto" src="url(img/gms1.eps)" width="8.7cm"/> This will work correctly (whatever the size of the graphic, it will be shrink to the specified width/height. For SVG, it will not ! How shoud I do ? Olivier. --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
