What about setting content-width and content-height in the fo to
scale-down-to-fit? Should be supported in fop and xep; not sure about
antenna house:

http://apache-fop.1065347.n5.nabble.com/scale-image-if-too-large-td14003.html#a14005

Regards,
David

On 01/03/2014 04:35 PM, Bob Stayton wrote:
> Hi Mark,
> I'm not sure you can do that with XSL-FO.  It works for width because an
> image is not competing with other content for width space.  So defining
> width="100%" means the dedicated viewport is 100% of the width of the
> page between margins, and the image is located within that viewport,
> sized down to fit if necessary.
> 
> If you set depth="100%", you are creating a viewport that is the height
> of the remaining space on the page, not the whole page.  So the height
> of that viewport depends on what precedes the image on the page.


---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to