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

Andreas L. Delmelle <adelme...@apache.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
  Attachment #26604|0                           |1
        is obsolete|                            |

--- Comment #9 from Andreas L. Delmelle <adelme...@apache.org> 2011-02-04 
15:52:28 EST ---
Created an attachment (id=26608)
 --> (https://issues.apache.org/bugzilla/attachment.cgi?id=26608)
revised patch


Slightly more restricted: only add the penalty if the first element of the
paragraph is not yet a penalty.
(+ might as well extract that dummy penalty constructor into a static final
that can be used elsewhere)

Also included a test case, checking for some possibilities in single/multi
column layout:
- single column, constant bpd
- single column, alternating bpd (increase sufficient to keep together)
- multi column constant bpd
- multi column, alternating bpd (increase sufficient to keep together)
- single column, alternating bpd (increase insufficient to keep together)
- multi column, alternating bpd (increase insufficient to keep together)

-- 
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