FOP
  1. FOP
  2. FOP-1509

Wrong generation of merged elements if footer has thicker borders than normal

    Details

    • Type: Bug Bug
    • Status: Closed
    • Resolution: Fixed
    • Affects Version/s: trunk
    • Fix Version/s: None
    • Component/s: layout/unqualified
    • Labels:
      None
    • Environment:
      Operating System: All
      Platform: All
    • External issue ID:
      44621

      Description

      See attached file: collapsing border model, footer repeated at page breaks, before border of footer thicker than normal after borders of the body's cells. This means that the cell's after borders in the trailing case are bigger than in the normal case. This is resulting into a wrong generation of Knuth elements, and content being swallowed.

      1. footerBorderThickerThanNormal.fo
        2 kB
        Vincent Hennebert
      2. normalBiggerThanTrailing.fo
        1 kB
        Vincent Hennebert

        Activity

        Hide
        Glenn Adams added a comment -

        batch transition pre-FOP1.0 resolved+fixed bugs to closed+fixed

        Show
        Glenn Adams added a comment - batch transition pre-FOP1.0 resolved+fixed bugs to closed+fixed
        Hide
        Vincent Hennebert added a comment -
        Show
        Vincent Hennebert added a comment - Both issues should be fixed: http://svn.apache.org/viewvc?view=rev&revision=650550
        Hide
        Vincent Hennebert added a comment -

        Another related problem: when the after border of a cell is thicker in the normal case than in the trailing case, an AssertionError occurs. This is because a glue is added to the element list to take this case into account, which currently is not expected by the merging algorithm.

        Show
        Vincent Hennebert added a comment - Another related problem: when the after border of a cell is thicker in the normal case than in the trailing case, an AssertionError occurs. This is because a glue is added to the element list to take this case into account, which currently is not expected by the merging algorithm.
        Hide
        Vincent Hennebert added a comment -

        Attachment normalBiggerThanTrailing.fo has been added with description: AssertionError when normal after border bigger than trailing

        Show
        Vincent Hennebert added a comment - Attachment normalBiggerThanTrailing.fo has been added with description: AssertionError when normal after border bigger than trailing
        Hide
        Vincent Hennebert added a comment -

        Partial fix in http://svn.apache.org/viewvc?view=rev&revision=637993

        The right value of the penalty still needs to be computed, but at least content should no longer be swallowed. There's also FOP-1507 on the way.

        Show
        Vincent Hennebert added a comment - Partial fix in http://svn.apache.org/viewvc?view=rev&revision=637993 The right value of the penalty still needs to be computed, but at least content should no longer be swallowed. There's also FOP-1507 on the way.
        Hide
        Vincent Hennebert added a comment -

        Attachment footerBorderThickerThanNormal.fo has been added with description: FO file showing the problem

        Show
        Vincent Hennebert added a comment - Attachment footerBorderThickerThanNormal.fo has been added with description: FO file showing the problem

          People

          • Assignee:
            fop-dev
            Reporter:
            Vincent Hennebert
          • Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

            • Created:
              Updated:
              Resolved:

              Development