Re: generating pdf fails depending on page layout order

2012-06-05 Thread Pascal Sancho
Rob, Your FO test case was OK. I just posted a very minimal FO that reproduce your's output, removing whatever doesn't help in finding bug. Le 05/06/2012 17:06, Rob Sargent a écrit : I'm sorry. Did I not include your "+ 0.001pt" example in my bug report? I certainly tried to... rjs On 06/0

Re: generating pdf fails depending on page layout order

2012-06-05 Thread Rob Sargent
I'm sorry. Did I not include your "+ 0.001pt" example in my bug report? I certainly tried to... rjs On 06/05/2012 01:37 AM, Pascal Sancho wrote: Hi, Thanks, Rob. I've added minimal test case and ref. to this thread. Le 05/06/2012 02:20, Rob Sargent a écrit : I've added issue #53358 - Insuf

Re: generating pdf fails depending on page layout order

2012-06-05 Thread Pascal Sancho
Hi, Thanks, Rob. I've added minimal test case and ref. to this thread. Le 05/06/2012 02:20, Rob Sargent a écrit : I've added issue #53358 - Insufficient space for line break causes error on zero-length region-body. My work-around is to conditionally define the region-body of the gallery pages

Re: generating pdf fails depending on page layout order

2012-06-04 Thread Rob Sargent
I've added issue #53358 - Insufficient space for line break causes error on zero-length region-body. My work-around is to conditionally define the region-body of the gallery pages as: 10.99in

Re: generating pdf fails depending on page layout order

2012-06-04 Thread Glenn Adams
ok, thanks, just wanted to check, as 0.001pt is exactly 1 millipoint which is a bit of magic number in FOP, as it uses an integer representation of millipoints in many computations, including the epsilon in the bug I referred to below On Mon, Jun 4, 2012 at 4:10 PM, Rob Sargent wrote: > If I'm

Re: generating pdf fails depending on page layout order

2012-06-04 Thread Rob Sargent
If I'm following along correctly, I don't think my issue is one of rounding, rather one of actual layout /style/. I run into trouble when the "next page" isn't of the same region-body definition AND has no room for text. So far, with my conditional region-body definition I'm able to bypass th

Re: generating pdf fails depending on page layout order

2012-06-04 Thread Glenn Adams
before filing a new bug, please review https://issues.apache.org/bugzilla/show_bug.cgi?id=51043 to see if the patch to that bug introduced the problem you are seeing On Mon, Jun 4, 2012 at 2:07 PM, Rob Sargent wrote: > I ran your fo with and without the "+ 0.001pt" and indeed it fails and > wo

Re: generating pdf fails depending on page layout order

2012-06-04 Thread Rob Sargent
I ran your fo with and without the "+ 0.001pt" and indeed it fails and works as you said it would. Good news, however. Following up on your to arrange it such that the "computed i-p-d for the content equals the one of the next page", I am now creating region-body definitions for the gallery p

Re: generating pdf fails depending on page layout order

2012-06-04 Thread Pascal Sancho
Hi, I have focused on the 1st issue I found. May be there are other issues behind. Le 01/06/2012 18:13, Rob Sargent a écrit : Thanks Pascal, Sort of glad to know it's not just me! Unfortunately I don't think you example minimal fo actually recreates my problem. I'm trying to get the "gallery

Re: generating pdf fails depending on page layout order

2012-06-01 Thread Rob Sargent
Thanks Pascal, Sort of glad to know it's not just me! Unfortunately I don't think you example minimal fo actually recreates my problem. I'm trying to get the "gallery" page to have NO text at all, whereas you working example has two line of text on the "gallery" page. The best I have attai

Re: generating pdf fails depending on page layout order

2012-06-01 Thread Pascal Sancho
Hi Rob, sure you are facing a bug: when there is no room on 1 page to insert a line-break, then, if IPD change on next page, the described FOPException is thrown. See the attached minimal XSL-FO: when you remove the expression " + 0.001pt" from the margin-top value, it works like charm. Can