On 14/08/12 23:20, Glenn Adams wrote:
> On Tue, Aug 14, 2012 at 1:23 PM, Vincent Hennebert 
> <vhenneb...@gmail.com>wrote:
> 
>>
>> If this is still not enough, then you can change the
>> MAX_RECOVERY_ATTEMPTS constant in
>> src/java/org/apache/fop/layoutmgr/BreakingAlgorithm.java to whatever
>> suits your needs. Note that this constant is also used for line
>> breaking, so you may want to keep it reasonably low in order to reduce
>> the impact on performance. Something as small as 10 might be more than
>> enough for your needs.
>>
> 
> Is it worth introducing the ability for the FOP operator to specify the
> maximum recovery attempts via fop.xconf? Is it worth dividing this into two
> settings, one for page breaking, another for line breaking?

I don’t think it’s worth the additional complexity of wiring a look-up
to a configuration variable. I’d rather implement a more intelligent
analysis of the page sequence to determine if there will be an infinite
loop or not.


> I'd prefer not to have non-configurable magic numbers of this sort if
> possible.


Vincent

---------------------------------------------------------------------
To unsubscribe, e-mail: fop-users-unsubscr...@xmlgraphics.apache.org
For additional commands, e-mail: fop-users-h...@xmlgraphics.apache.org

Reply via email to