xmlgraphics-fop-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Murray Cumming <murr...@murrayc.com>
Subject Re: DocBook to PDF: Using scalefit to fit images on the page?
Date Tue, 22 Sep 2009 16:26:04 GMT
On Fri, 2009-09-18 at 17:28 +0200, Murray Cumming wrote:
> I'm generating PDF from Docbook with fop. 
> I have tried to follow the advice here 
> http://www.sagehill.net/docbookxsl/ImageSizing.html
> to make my images scale to fit the page size, but I've had no luck so
> far.
> I've tried various combinations of relevant attributes on the imagedata
> tag, including:
>  scalefit="1" contentdepth="100%" contentwidth="100%" width="100%"
> but the wider images are always cut at the right of the page.

Sorry, when I tried to create a simple test case I realized that I was
not really changing the markup that I thought I was changing. In fact it
works fine if I use this on the imagedata:
  scalefit="1" width="100%"
as per that documentation.


To unsubscribe, e-mail: fop-users-unsubscribe@xmlgraphics.apache.org
For additional commands, e-mail: fop-users-help@xmlgraphics.apache.org

View raw message