Tartarus CVS: halibut: ben

tartarus-commits at lists.tartarus.org tartarus-commits at lists.tartarus.org
Fri Sep 24 18:57:01 BST 2004


CVS Root:       /home/cvs
Module:         halibut
Changes by:     ben
Date:           Fri Sep 24 2004  18:57:01 BST

Log message:
Page-break penalties were calculated by taking the amount of spare space
on the page (in internal units) and squaring it.  This was fine except that
fixed penalties weren't scaled by the size of an internal unit, so the page-
breaking changed when the units were changed.  Rather than scaling all the
fixed penalties, scale the space into 1/4096 point units before squaring it.

Modified files:
    .               : bk_paper.c

Links:
http://cvs.tartarus.org//halibut/bk_paper.c.diff?r1=1.31&r2=1.32



More information about the tartarus-commits mailing list