diff options
| author | Ben Harris <bjh21@bjh21.me.uk> | 2004-09-24 17:56:58 +0000 |
|---|---|---|
| committer | Ben Harris <bjh21@bjh21.me.uk> | 2004-09-24 17:56:58 +0000 |
| commit | 8286b93ea3f23d67e2317d6fc4ee6f474412b69c (patch) | |
| tree | 54f12eb4562f838acc0a2a6de5f5b12c503a0a1e /bk_html.c | |
| parent | 09d5a75c61a3f53f66918b74051af27faca366bb (diff) | |
| download | halibut-8286b93ea3f23d67e2317d6fc4ee6f474412b69c.zip halibut-8286b93ea3f23d67e2317d6fc4ee6f474412b69c.tar.gz halibut-8286b93ea3f23d67e2317d6fc4ee6f474412b69c.tar.bz2 halibut-8286b93ea3f23d67e2317d6fc4ee6f474412b69c.tar.xz | |
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.
[originally from svn r4575]
Diffstat (limited to 'bk_html.c')
0 files changed, 0 insertions, 0 deletions