On Thu, 2007-10-18 at 21:48 +0100, Richard Hughes wrote:
> After my last mail about text, I played around a little more
again and
> stumbled over a very strange behaviour.
> I have to boxes which are combined and text is flowed into them. I
> placed them one below the other... I imagined the text would continue in
> the second box... but unless its really close, it doesn't.
> Open the attached fly, mark the below box with the node-selection tool
> by selecting all nodes and move the box down with the arrow keys... the
> text will disappear from it.
Yes, this is weird and (after a careful reading of the spec)
incorrect. It's actually not doing what you think it's doing, as you
can determine by moving the second region to alongside the first: the
text runs straddle both regions so the entire document is read
top-to-bottom (this bit is correct). The layout code is attempting to
enforce the rule that anything after the end of a region gets cut off,
but it's seeing the gap between the two regions as the end and simply
stopping rather than shifting by line-advance and trying again.
Well actually it is doing exactly what I think it is doing. It might not
do, what I _want_ it to do, but that is another question. Actually it
also does, what I want it to do, since it is one object.
If you want the behaviour that you seem to be describing then the
flow
boxes should be two objects, not one object with two paths. This is
demonstrated by examples/flowsample.svg and does work.
Impressive, but forgive me: how can I edit this on canvas? I can only
edit one object and don't understand, where the rest of the text is
flowed into and how the flowing around that hole is achieved...
> I guess I should file a bug, shouldn't I? But maybe it would
be good to
> know, what causes the problem...
It is a bug, please file it as such.
[ 1816130 ] Wrong behaviour of text flowed into a combined shape
David