You are viewing a plain text version of this content. The canonical link for it is here.
Posted to fop-dev@xmlgraphics.apache.org by Finn Bock <bc...@worldonline.dk> on 2004/12/07 22:03:38 UTC
Knuth maximum demerit value.
Hi,
What is the logic behind the INFINITE_DEMERITS = 1E11 ? Having a
threshold of 20 can result in a demerit value of
(1 + 100 * 20 ** 3) ** 2 == 6.400016E11
for the first KnuthNode which is then ignored since it is worse than the
initial demerit value.
I would guess that when we use a ration of 20, the initial demerit value
should somehow match.
regards,
finn