Hi,

I do not really understand the scaling of external images. I have an Area of
220mm (height) and 170mm (width) where I can include graphics. Thus I write
something like:

<fo:external-graphic content-height="220mm" content-width="170mm"
src="[EMAIL PROTECTED]"/>

Isn't it (theoretically) right that if I specify content-height and
content-width the image should be scaled and thus could be distorted. But if
I include a graphic which has landscape orientation FOP scales it to 170mm
width but doesn't scale the height to 220mm. The height is correct relativ
to the width. This is perfect for me but doesn't this conflict with theory?

BTW: If I specify something like this:

<fo:external-graphic content-height="220mm" src="[EMAIL PROTECTED]"/>

FOP scales the height of landscape graphics to 220mm and the width is out of
the boundaries of the document.

Kai


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

Reply via email to