Re: [xep-support] use intrinsic height of SVG images

From: Nikolai Grigoriev (
Date: Fri Jan 02 2004 - 08:07:42 PST

  • Next message: Oliver Becker: "Re: [xep-support] use intrinsic height of SVG images"


    > The effect of the lines above is that my graphic is scaled to the
    > width (and height as well), but the block doesn't reserve enough vertical
    > space. So the image overlaps the preceding text block.

    A wild guess: do you have line-stacking-strategy="font-height" somewhere
    on the parent node? Many people use it to ensure even distances between
    text lines; unfortunately, it also affects blocks with no text at all.

    > What do I have to change to make XEP compute and reserve
    > the needed space?

    The first thing to try is to reset the line stacking strategy
    to its default value on the block that includes the graphic:

    <fo:block line-stacking-strategy="max-height" [spaces and borders]>
       <fo:external-graphic ...

    If it does not help, please submit us a bug report at,
    with a foo.svg and a minimal FO sample that shows the effect.

    Nikolai Grigoriev

    (*) 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 : Fri Jan 02 2004 - 08:12:57 PST