If you want to maintain 0.20.5 compatibility, use width and height as before and add content-width="scale-to-fit" and content-height="scale-to-fit". There are other little differences which need to be looked after most of which are documented under: http://xmlgraphics.apache.org/fop/latest/upgrading.html
On 19.04.2006 00:15:48 Will Peterson wrote: > Thanks Chris, that worked for me. > > Do you know if I need both tags to maintain FOP .2 compatibility? Does > this apply only to external-images or is there other tags? > > Thanks again, > > -Will > > >>> On 4/7/2006 at 1:32 AM, in message <[EMAIL PROTECTED]>, > [EMAIL PROTECTED] wrote: > Will Peterson wrote: > > <snip/> > > > <fo:external-graphic height="300px" src="myImage.jpg"/> > > > > Using FOP .2 the image comes out perfect, resized to a width of 300 > > pixels. The newer FOP, however, does not resize the image causing > (in > > my case) the image to be bigger than the virtual PDF paper it is > > rendered on. > > In FOP 0.91beta, if you want your image to be scaled I think you need > to > specify content-width and content-height as well as width and height. Jeremias Maerki --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]