Hi,

I am trying to prevent a line from breaking, so I wrapped it inside a 
<fo:inline keep-together.within-line="always">...</fo:inline>. This works as 
long as the line is a plain text, but does not work if there is a nested 
fo:inline. In that case, the line breaks at the nested fo:inline.

Here is a FO snippet:

===========================
<fo:inline keep-together.within-line="always">very long and nasty 
<fo:inline/>line that should not probably wrap unless somebody is using a 
nested fo inline <fo:inline/> which allows this line to wrapping 
around<fo:inline/> even though it should not</fo:inline>
===========================

Is it intended behavior or a bug?

I tried googling, but haven't found any definitive answer. The most relevant 
result was an item in FOP 0.94 change list which said that "UAX+14 line 
breaking is implemented, but it does not propagate to nested fo:inlines". I am 
not sure if this explains such behavior.

I am using FOP 0.95, packages from Ubuntu 10.04.

Thanks,
Alexey.

---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to