Skip to main content
February 17, 2010
Question

TextLine created for Para Terminator

  • February 17, 2010
  • 1 reply
  • 446 views

Hello.  We're seeing behavior with composition where a TextLine is being created for only a paragraph terminator.  We are reproducing this by having a paragraph that has one inline graphic that is exactly the same width as the parcel width, followed by one empty span (not sure if empty span is required).  Paragraph textLength is 2 (IGE+terminator).  First, it creates a TextLine for the IGE with textLength 1.  Then, an empty text line is created for the paragraph terminator and placed immediately below the IGE.  That TextFlowLine's unjustifiedTextWidth is 0.

Is this expected behavior?  If so, is there be something that we could override to prevent this extra text line?  We already use an extended StandardFlowComposer, ComposeState, and ParcelList.  Is there something we could do through those?

Thanks,

Brent

This topic has been closed for replies.

1 reply

Adobe Employee
February 17, 2010

It's certainly a bug and I recall that issue.  I believe it was solved in the 10.1 player.  Can you try that?

Thanks,

Richard

February 17, 2010

Thanks, Richard.  That definitely would make sense.  With everything that TLF does, I sometimes forget about the role of FTE in determining the text lines.  We have been doing some testing with 10.1 but are not using it in production yet.  I'll test the issue with the 10.1 player to verify that it's fixed and report back.

Thanks,

Brent