]> git.donarmstrong.com Git - lilypond.git/commitdiff
lilypond-0.0.58
authorfred <fred>
Sun, 24 Mar 2002 19:41:55 +0000 (19:41 +0000)
committerfred <fred>
Sun, 24 Mar 2002 19:41:55 +0000 (19:41 +0000)
lily/calcideal.cc
lily/stem-beam-reg.cc
lily/stem.cc

index 92720e76110f69cb09386a8fc9068b33ecdd4e6c..fa015012b3fc1914c5af5e279179dfdcaa8b5606 100644 (file)
@@ -41,7 +41,8 @@ Score::calc_idealspacing()
                }
                Moment delta_desired = j->when() - (d+i->when());
                dist += paper_p_->duration_to_dist(delta_desired);
-               
+               if (!j->musical_b())
+                   dist += 1 PT; // ugh
                pscore_p_->connect(i->pcol_l_, j->pcol_l_, dist, strength);
            }
        } else if (j.ok()) {
index dae02480b91f9ba0391019be48e8c03b35f757fb..95f8979803354f6189207bcc414074f3e4e490c1 100644 (file)
@@ -79,7 +79,7 @@ Stem_beam_register::process_requests()
     }
 
     if (stem_req_l_) {
-       stem_p_ = new Stem(4);
+       stem_p_ = new Stem(10);
        if (current_grouping)
            current_grouping->add_child(
                get_staff_info().time_C_->whole_in_measure_,
index f775c20b258a7adad9523169f5371ae00795b1b7..a14ce880f93423c287d95eefcf37bd50195e3224 100644 (file)
@@ -130,7 +130,7 @@ Stem::set_default_stemlen()
     
     // ugh... how about non 5-line staffs?
     if ((max_head_i() < -2 && dir_i_ == 1 )
-       ||(min_head_i() > staff_size_i_ + 2 && dir_i_ == -1) ){
+       ||(min_head_i() > staff_size_i_ && dir_i_ == -1) ){
        set_stemend(    staff_size_i_ /2 );
     } else {
        set_stemend( (dir_i_ > 0) ? max_head_i() + STEMLEN :