https://issues.apache.org/bugzilla/show_bug.cgi?id=49835

Andreas L. Delmelle <[email protected]> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
         OS/Version|                            |All

--- Comment #6 from Andreas L. Delmelle <[email protected]> 2011-02-01 
07:15:00 EST ---
Operating on a hunch, I tried prepending each blockList in
AbstractBreaker.doLayout() with an auxiliary penalty (w=0, p=0). At line 394, I
added a simple:

  blockList.add(0, new KnuthPenalty(0, 0, false, null, true));

It seems to trigger correct behavior in this case, as the entire block is now
deferred to the second page, where it can be kept together in one column.
On the other hand, that quick hack breaks quite some testcases. All those that
check for element-list content now suddenly have to deal with an extra element
at position 0...

Fact remains that, without this penalty, the last forced node points to
position 0, which corresponds to the first box, while it should actually point
to the position preceding the first box.

-- 
Configure bugmail: https://issues.apache.org/bugzilla/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.

Reply via email to