forrest-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From <che...@che-che.com>
Subject Re: imaging issues /FOPException
Date Fri, 08 Aug 2003 17:21:53 GMT

Jörg,
There is a test case on this bug, that actually you have closed it:

http://nagoya.apache.org/bugzilla/show_bug.cgi?id=20792

I test it with your changes but it does not work.

Cheers,
Cheche 


> cheche@che-che.com wrote:
> > This is what we put on the fo file:
> > 
> > <fo:external-graphic max-width="100%" content-height="scale-to-fit"
> > content-width="scale-to-fit" src="blablabla.jpeg"/>
> 
> Didn't you get an error message for max-width? There is no such
> FO property. Also, content-height and content-width are not yet
> implemented and silently ignored. You should either use
>    <fo:external-graphic width="100%" src="blablabla.jpeg"/>
> which will scale the image to fill the available width, while
> preserving the aspect ratio, or just
>    <fo:external-graphic src="blablabla.jpeg"/>
> which will render the image at 72dpi, optionally scaling it
> down if this would overflow the available width.
> 
> However, the recommended way is to use a real width with
> measurements, because this way you control the resolution at which
> the bitmap is rendered instead of using the hardcoded 72dpi (any
> resolution encoded in the image is ignored).
> 
> There ought to be some documentation about this on the FOP web
> site.
> 
> J.Pietschmann
> 
> 




Mime
View raw message