[xep-support] external-graphic: max-height

From: Bastian Kroll <bk@classwizard.com>
Date: Thu Apr 07 2011 - 11:59:44 PDT

Hello Everybody,
I have a problem with an external-graphic. I´m getting every time the max-height, even if the image is smaller.
The following is given:
1. max-width of the image (40mm)
2. max-height of the image (40mm)
3. the image can have different, not know sizes

I used this FO
<fo:block><fo:external-graphic max-width="40mm" src="url(file:////ClassWizard/Daten/Crossmedia/data/msa/ads/10/001080510/001080510.z)" content-width="scale-to-fit" content-height="scale-to-fit" /></fo:block><fo:inline ......>....</fo:inline>

If the image is smaller than 40mm in height I´m getting a white area after the image. It seems, that the external-graphic is reserving the area 40x40 and the inline-text is not beginning exact behind the image.

Is there a solution to get the text right behind the image if it is smaller in height? I tried hours and hours to find a solution. I tried to set up the max-height at the fo:block, too. Without any effects.

Maybe someone can give me a hint.

thanks in advance
bastian

!DSPAM:87,4d9e09a663738581663291!

_______________________________________________
(*) To unsubscribe, please visit http://lists.renderx.com/mailman/options/xep-support
(*) By using the Service, you expressly agree to these Terms of Service http://w
ww.renderx.com/terms-of-service.html
Received on Thu Apr 7 11:59:56 2011

This archive was generated by hypermail 2.1.8 : Thu Apr 07 2011 - 12:00:03 PDT