Mike Trotman wrote:
But the behaviour in FOP seems to be that containing width (not the external-graphic @width) restricts image display size,

Correct.

but height doesn't.

Clipped by the MaxHeight of the region-body, whatever this is (probably not the available height as I claimed before, which would explain the complaints about images overlapping the footer). The code tries to keep the aspect ratio but may have some difficulties if either width or height are explicitely specified and clipping applies.

As you say - in FOP the @height and @width on external-graphic do control the size of the image - and this may exceed the parent area.

But as I read the spec the external-graphic @height sets the height of the box - but the content may exceed this area(?).

This is most likely the correct interpretation. The spec is somewhat unclear about what should if the content-width/height are missing and how this all releates to image dimensions derived from the image data itself.

J.Pietschmann

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



Reply via email to