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

From: Bernd Kuemmerlen (
Date: Thu Feb 27 2003 - 23:58:33 PST

  • Next message: Alexander Peshkov: "Re: [xep-support] Configuring XEP for Embedded JavaScript Functionality"

    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

    (*) To unsubscribe, send a message with words 'unsubscribe xep-support'
    in the body of the message to from the address
    you are subscribed from.
    (*) By using the Service, you expressly agree to these Terms of Service

    This archive was generated by hypermail 2.1.5 : Thu Feb 27 2003 - 23:52:41 PST