From: Nikolai Grigoriev (grig@renderx.com)
Date: Wed May 05 2004 - 03:12:43 PDT
Michael,
> XEP handles the format fine (for the most part), but scaling is
> unpredictable, even (or particularly) using width="auto"
> height="auto" content-width="auto" content-height="auto".
In this case, XEP should display the image using its intrinsic
size. The size itself may depend on the resolution specified
in the image; so it is hard to say anything without looking
at the images themselves.
> What I am trying to do is scale down large images to fit
> within the width of my page, and keep small images their
> original size (or a reasonable size) - strangely I seem
> to be having more problems with small images scaling
> too large rather than vice-versa.
A typical way of doing it:
<fo:external-graphic src="url(...)"
content-width="scale-to-fit" width="100%"
content-height="100%"/>
This will leave images at their natural size, unless
their width exceeds the page width; in which case
they will be scaled down to the available space.
Regards,
Nikolai Grigoriev
RenderX
-------------------
(*) To unsubscribe, send a message with words 'unsubscribe xep-support'
in the body of the message to majordomo@renderx.com from the address
you are subscribed from.
(*) By using the Service, you expressly agree to these Terms of Service http://www.renderx.com/tos.html
This archive was generated by hypermail 2.1.5 : Wed May 05 2004 - 03:34:58 PDT