You are viewing a plain text version of this content. The canonical link for it is here.
Posted to fop-dev@xmlgraphics.apache.org by bu...@apache.org on 2011/03/21 20:27:34 UTC

DO NOT REPLY [Bug 49801] Region-Body Column balancing incorrect if content is table with header

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

--- Comment #7 from Andreas L. Delmelle <ad...@apache.org> 2011-03-21 15:27:29 EDT ---

Thinking more about a possible fix, I am suddenly asking myself why we would
even fiddle with the demerits at all to balance columns. Playing with the
demerits alone is not enough to make a break more/less favorable. Ultimately,
the adjustment ratio is a deciding factor too, and that is based on the
difference between available width and the width of the line.

Since the algorithm works with the full bpd of the page as line-width, this is
bound to cause the algorithm to 'ignore' the better demerits at some points.

In a way, that feels like we could handle column-balancing better by (also)
forcing the available line-width down to the minimal width needed by the
content (i.e. taking into account pieces that must be kept together within the
same column).

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