[EMAIL PROTECTED] <> wrote:
> On Feb 8, 2007, at 19:45, Kai Mütz wrote:
>
> Hi,
>
>> <snip />
>> 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.
>
> Only if you would specify scaling="non-uniform".
> If not, then FOP defaults to preserving the aspect ratio, as is
> mandated by the Recommendation.
>
> See: http://www.w3.org/TR/xsl/#scaling
>
>> 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?
>
> Nope. :)
>
> HTH!
>

It does. Thank you.

Kai


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

Reply via email to