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

--- Comment #2 from Andreas L. Delmelle <adelme...@apache.org> 2011-04-08 
12:51:40 EDT ---

At first glance, this seems to be due to a rounding issue. 
The IPD for the first page's body region resolves to 510.237pt, while the
second has only 510.236pt. As a result, the PageBreakingAlgorithm sees a
difference, and restarts, while there is actually no reason to.

A quick fix would be to only take into account differences greater than or
equal to, say, 0.5pt.
The 'proper' fix would likely involve a full investigation on where exactly
this happens, and a battery of tests to make sure that equal widths in
different units of measurement always evaluate to the exact same value in
1/1000pt.

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