Bug 44621 - Wrong generation of merged elements if footer has thicker borders than normal
Summary: Wrong generation of merged elements if footer has thicker borders than normal
Status: CLOSED FIXED
Alias: None
Product: Fop - Now in Jira
Classification: Unclassified
Component: page-master/layout (show other bugs)
Version: trunk
Hardware: All All
: P2 normal
Target Milestone: ---
Assignee: fop-dev
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2008-03-17 10:10 UTC by Vincent Hennebert
Modified: 2012-04-01 06:26 UTC (History)
0 users



Attachments
FO file showing the problem (1.69 KB, text/plain)
2008-03-17 10:10 UTC, Vincent Hennebert
Details
AssertionError when normal after border bigger than trailing (1.06 KB, text/plain)
2008-03-26 08:50 UTC, Vincent Hennebert
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Vincent Hennebert 2008-03-17 10:10:17 UTC
Created attachment 21675 [details]
FO file showing the problem

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.
Comment 1 Vincent Hennebert 2008-03-17 10:55:20 UTC
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 bug #44616 on the way.
Comment 2 Vincent Hennebert 2008-03-26 08:50:40 UTC
Created attachment 21719 [details]
AssertionError when normal after border bigger than trailing

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.
Comment 3 Vincent Hennebert 2008-04-22 08:20:36 UTC
Both issues should be fixed: http://svn.apache.org/viewvc?view=rev&revision=650550
Comment 4 Glenn Adams 2012-04-01 06:26:49 UTC
batch transition pre-FOP1.0 resolved+fixed bugs to closed+fixed