Question
Image and text collision with baselineShift
- October 16, 2009
- 1 reply
- 991 views
Hi,
I want to add an image (in the example : a little equation) in a text using the TLF.
I have only ONE paragraph and my image need to be aligned, so I set the property baselineShift on the inlineGraphicElement.
But the problem is that there is a collision with the next text line (see obtained.jpg).
So I tried to set the lineHeight but in this case, no leadingDirection works (because I want space in direction up and in direction down).
I would like to obtain a space before and a space after (see expected.jpg), and I can't split my paragraph.
Is there any way to do this (like text wrap or ... ) ?
Thanks a lot,
Regards
Olivier
