https://issues.apache.org/bugzilla/show_bug.cgi?id=51962
Matthias Reischenbacher <[email protected]> changed: What |Removed |Added ---------------------------------------------------------------------------- Status|CLOSED |REOPENED Resolution|FIXED |--- --- Comment #6 from Matthias Reischenbacher <[email protected]> --- Hi Mehdi, Peter, I believe that there is a small bug inside the new PageSequenceLayoutManager.getForcedLastPageNum() method: You're handling "even" and "end-on-even" the same way. I think that this is not entirely correct, because "even" only forces an even number of pages inside the current page-sequence, but not for the whole document. Since lastPageNum refers to the total amount of pages, the mod check should be done like that: (lastPageNum - startPageNum + 1) % 2 != 0 The same applies to "odd" and "end-on-odd". Could you please check that? Thanks Matthias -- You are receiving this mail because: You are the assignee for the bug.
