Skip to main content
Participant
March 18, 2014
Question

Poor spacing around GraphicElements

  • March 18, 2014
  • 0 replies
  • 189 views

I have an app leveraging TLF and have come across a rather undesirable behavior of FTE.

If you have a line of text that starts with a GraphicElement then followed by a space OR ends with a GraphicElement preceeded by a space, you end up with a space appearing where it shouldn't be. The text is adjustable by the user, so I'd like to find an answer besides "don't do that".

In the following example, I placed a little orange marker where the GraphicElement is on the TextLine. Since this is a floated image (in TLF land) the size is put to 0x0, its just a placeholder and has no visual representation on the TextLine itself. Unfortunately since FTE knows there is a GraphicElement after the space, it renders the space leaving an ugly edge against the right margin.

Is there a way to work around this behavior?

This topic has been closed for replies.