On 04 Dec 2008, at 09:16, sandraB wrote:
This test neither works. I have no more idea on what parameters I
can change
to have better result
the test.fo
...
<fo:external-graphic width="22.8cm" height="19cm"
content-height="scale-to-fit" content-width="scale-to-fit"
src="url('/home/lqzp4386/project/OdisSite/src/site/resources/images/
archi.png')"/>
...
One property I forgot to mention is "scaling".
see: http://www.w3.org/TR/xsl/#scaling
If it is not specified, it defaults to "uniform", which preserves the
original aspect ratio.
For example: If the image in its native resolution would be 45.6cm
wide, and 40cm high, then the eventual width in the output will be
slightly less than 22.8cm, since the image needs to be shrunk by over
50% to fit the available height.
Cheers
Andreas
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]