[xep-support] Scaling of images again...

Bernd Kuemmerlen bkuemmer at gmx.net
Thu Feb 27 23:58:33 PST 2003


Hello Nikolai,

Nikolai Grigoriev wrote:
> Yes. 'Width' and 'height' specify the viewport size - a rectangle through
> which the picture is shown. Actual picture size need not coincide
> with the viewport - it could be bigger (then it should be clipped -
> though I am not sure if we implement it) or smaller - then the image
> occupies only a part of the viewport, leaving the rest blank -
> that's what you see in your case. The only way to eliminate white
> space before the image is to leave its 'height' equal to "auto".

OK (first time I really understood this to be honest).

>>- When image is too wide, scale-to-fit to the available width
>>- When the image is too high, scale-to-fit to the available height.
> 
> To the best of my understanding, it cannot be expressed in XSL FO,
> and there is no suitable workaround in XEP. Sorry.

Well, too bad, then maybe I have to use different stylesheet 
customizations (DocBook), depending on the paper size or orientation.

Thanks anyway
	Bernd

-------------------
(*) To unsubscribe, send a message with words 'unsubscribe xep-support'
in the body of the message to majordomo at 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



More information about the Xep-support mailing list