summaryrefslogtreecommitdiff
path: root/lily/page-turn-page-breaking.cc
diff options
context:
space:
mode:
authorJoe Neeman <joeneeman@gmail.com>2006-10-18 18:21:39 +0000
committerJoe Neeman <joeneeman@gmail.com>2006-10-18 18:21:39 +0000
commitb28e9210357c348c1007ad793422b322e70d80f8 (patch)
treeda4e795b2250c36e2f9f9718cfa4330583c48ee5 /lily/page-turn-page-breaking.cc
parenteed800bef73fc595e1d74e1fd5f0f5eda600ff66 (diff)
* lily/simple-spacer.cc (get_line_forces): test for non-fitting
line even if we precede a forced break. * lily/optimal-page-breaking.cc (try_page_spacing): square line forces too. Make page-spacing weight default to 10 because the changes to vertical springs decreased the page force/line force proportions. Also, take the average of line force and page force instead of just the sum. * lily/constrained-breaking.cc (initialize): make the stiffness of the vertical springs depend on the height of the system. This prevents pages with only a few large systems from getting huge forces * Documentation/user/page.itely (Page formatting): document the change in default page-spacing-weight * lily/include/constrained-breaking.hh: initialise bottom_padding_
Diffstat (limited to 'lily/page-turn-page-breaking.cc')
-rw-r--r--lily/page-turn-page-breaking.cc2
1 files changed, 1 insertions, 1 deletions
diff --git a/lily/page-turn-page-breaking.cc b/lily/page-turn-page-breaking.cc
index e60ccfe033..81cfab9cac 100644
--- a/lily/page-turn-page-breaking.cc
+++ b/lily/page-turn-page-breaking.cc
@@ -38,7 +38,7 @@ Page_turn_page_breaking::calc_demerits (const Break_node &me)
{
Real prev_f = 0;
Real prev_dem = 0;
- Real page_weighting = robust_scm2double (book_->paper_->c_variable ("page-spacing-weight"), 1);
+ Real page_weighting = robust_scm2double (book_->paper_->c_variable ("page-spacing-weight"), 10);
if (me.prev_ != VPOS)
{
prev_f = state_[me.prev_].force_;