]> git.donarmstrong.com Git - lilypond.git/commitdiff
* lily/tie-formatting-problem.cc (generate_configuration):
authorHan-Wen Nienhuys <hanwen@xs4all.nl>
Fri, 20 Jan 2006 17:43:18 +0000 (17:43 +0000)
committerHan-Wen Nienhuys <hanwen@xs4all.nl>
Fri, 20 Jan 2006 17:43:18 +0000 (17:43 +0000)
* lily/tie-formatting-problem.cc (peak_around): new function.
(score_configuration): use sliding criterion for staff line collisions.
(score_configuration): idem for dot collisions.
(generate_configuration): use separate stem_gap for gap to stem.

ChangeLog
lily/tie-formatting-problem.cc

index 2d481225fb1e2295c9972f30d4fc5d932d772fd8..742d8a559eb0e7a9f72c4a953a2f1d811564b1e4 100644 (file)
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,5 +1,7 @@
 2006-01-20  Han-Wen Nienhuys  <hanwen@xs4all.nl>
 
+       * lily/tie-formatting-problem.cc (generate_configuration): 
+
        * input/regression/tie-chord.ly: use generateTiePattern to
        simplify file.
 
index 91a96d48b12cd86a4df6da1dd6eb3e66b6c89db2..f9d92bf61699ff029d660d6ac530a63f8d5b5b18 100644 (file)
@@ -356,7 +356,11 @@ Tie_formatting_problem::generate_configuration (int pos, Direction dir) const
        }
     }
   
-  conf->attachment_x_ = get_attachment (y + conf->delta_y_);
+  /*
+    we don't recompute attachment_x_ to take changed Y (through
+    delta_Y) into account. Doing would make ties go into small holes between heads, which
+    means we get collisions with neighboring heads.
+   */
   conf->attachment_x_.widen ( - details_.x_gap_);
 
   Direction d = LEFT;