[xep-support] use intrinsic height of SVG images

Nikolai Grigoriev grig at renderx.com
Fri Jan 2 08:07:42 PST 2004


Oliver,

> The effect of the lines above is that my graphic is scaled to the
requested
> 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 support at renderx.com,
with a foo.svg and a minimal FO sample that shows the effect.

Regards,
Nikolai Grigoriev
RenderX

-------------------
(*) 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