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





--- Comment #24 from Andreas L. Delmelle <adelme...@apache.org>  2009-06-12 
07:05:47 PST ---
(In reply to comment #20)
> A hunch right after posting this, checked
> PageBreakingAlgorithm.recoverFromTooLong(), and thought I'd change the first
> while-loop to:
> 
> while (!pageProvider.startPage(lastTooLong.line))
> 
> i.e. do not subtract 1 from the line-number

Undid this change, for the moment, since it causes more trouble than it solves.

While debugging further, I notice it is indeed a problem when the algorithm
5-restarts from the first node.
Apparently, restarting from that first node (way too-short) triggers
area-addition for the first line on the first page, then we get an effective
page-break, and the rest is rendered as it would otherwise be rendered.

Still looking closer at the trace-logs to try and make sense of it...

Maybe a somewhat exceptional case, but I'd still like to see if I can fix that
one before publishing the patch.

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