J.Pietschmann wrote:

Roland Neilands wrote:

I have also seen logos disappear when the logo itself was much bigger
than the block-container and it spat the dummy rather than scale the
image down. I think that was only on certain image types (jpg?).


IIRC the image scaling code uses the available space in the page
body as the maximum heigth of the image, regardless whether the
image is actually placed in static content. The static content is
processed after the flow in the body, and if the current page has
been completely filled, images in static content may be scaled down
to zero or nearly zero height. That's why it is always a good idea

From my recent experiments, using absolutely positioned block-containers,
I think the image is scaled so that the width is the maximum width of the image
but the height is not constrained (though uniformly scaled).
So - if your width allows an image size whose height is bigger than the container
then the image is not displayed.


to provide width and height for images explicitly.

I think this is a FOP specific fix (which works in FOP - but not in other XSLFO processors).
Unfortunately the height and width attributes are to specify the size of the external-graphic area
which the image is allowed to exceed - which is where content-height and content-width come into play?


J.Pietschmann

---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]




-- No virus found in this outgoing message. Checked by AVG Anti-Virus. Version: 7.0.308 / Virus Database: 266.9.18 - Release Date: 19/04/2005


--------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]



Reply via email to