Hi,
lexa2009 wrote:
> hi, thx for help. if i use
> <fo:block>sometext1
> <fo:external-graphic src="00000011.tif" display-align="center"
> scaling="uniform" content-width="80mm"/>
> st2
> <fo:external-graphic src="00000011.tif" display-align="center"
> scaling="uniform" content-width="80mm"/>
> <fo:external-graphic src="00000011.tif" display-align="center"
> scaling="uniform" content-width="80mm"/>
> <fo:external-graphic src="00000011.tif" display-align="center"
> scaling="uniform" content-width="80mm"/>
> sometext2</fo:block>
>
> images still overflow my page. there is an example
> http://old.nabble.com/file/p27270558/name.pdf name.pdf
That’s because the width of your image is greater than the page width.
You have to scale it down, for example:
<fo:external-graphic src="image" content-width="scale-down-to-fit"
inline-progression-dimension.maximum="100%"/>
HTH,
Vincent
> Vincent Hennebert-2 wrote:
>>
>> I think you can get rid of fo:inline altogether:
>> <fo:block>sometext1
>> <fo:external-graphic src="00000011.tif" display-align="center"
>> scaling="uniform" content-width="80mm"/>
>> st2
>> <fo:external-graphic src="00000011.tif" display-align="center"
>> scaling="uniform" content-width="80mm"/>
>> <fo:external-graphic src="00000011.tif" display-align="center"
>> scaling="uniform" content-width="80mm"/>
>> <fo:external-graphic src="00000011.tif" display-align="center"
>> scaling="uniform" content-width="80mm"/>
>> sometext2</fo:block>
>>
>> If you want the image to be on the same line as the preceding text, just
>> remove blanks between the two:
>> <fo:block>sometext1<fo:external-graphic ...
>> (Although I’m not sure that this is correct behaviour. I think a break
>> should still be allowed to occur between the text and the image.)
>>
>> If you want no space between the preceding text and the image, yet the
>> image to be put on the next line if there is not enough space on the
>> current one, just insert a zero-width space:
>> <fo:block>sometext1​<fo:external-graphic ...
>>
>> And likewise for text following images, or between images.
>>
>> HTH,
>> Vincent
>>
>>
>
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]