Uploaded image for project: 'FOP'
  1. FOP
  2. FOP-2176

Different number of lines placed in a balanced two column layout before page break

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Open
    • Major
    • Resolution: Unresolved
    • 1.0, 1.1
    • None
    • layout/unqualified
    • None

    Description

      Render the input.fo.xml using
      ./fop input.fo.xml -pdf output-actual.pdf

      One would expect that the number of lines placed in the left and right column would be equal. But, the right column contains one more line. If, the input.fo.xml, the margin-top="206.m" is changed to margin-top="206.1mm", then we get the expected output (output-expected.pdf)

      This was found while testing the new column balancing algorithm (FOP-1840), but as commented [1], the problem exists elsewhere in the layout engine.

      [1]
      https://issues.apache.org/jira/browse/FOP-1840?focusedCommentId=13531032&page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel#comment-13531032

      Attachments

        1. output-expected.pdf
          10 kB
          Alexios Giotis
        2. output-actual.pdf
          10 kB
          Alexios Giotis
        3. input.fo.xml
          66 kB
          Alexios Giotis

        Activity

          People

            Unassigned Unassigned
            alex.giotis Alexios Giotis
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

              Created:
              Updated: