]> git.donarmstrong.com Git - lilypond.git/commitdiff
Revert "move dot_column_engraver to Voice"
authorKeith OHara <k-ohara5a5a@oco.net>
Fri, 16 Mar 2012 06:48:26 +0000 (23:48 -0700)
committerKeith OHara <k-ohara5a5a@oco.net>
Thu, 22 Mar 2012 06:17:37 +0000 (23:17 -0700)
This reverts commit 41b248ddea66f8803815aded606ed7300778b0eb.
And adds a regression test.

input/regression/dot-column-engraver.ly [new file with mode: 0644]
ly/engraver-init.ly

diff --git a/input/regression/dot-column-engraver.ly b/input/regression/dot-column-engraver.ly
new file mode 100644 (file)
index 0000000..8ea30b9
--- /dev/null
@@ -0,0 +1,22 @@
+\version "2.15.34"
+
+\header {
+  texidoc = "Dot Columns are engraved in the Staff by default,
+enabling dots to move vertically to make room for dots from another voice.
+If Dot_column_engraver is moved to Voice, separate dot columns are engraved,
+and these dots avoid notes in other voices."
+}
+
+music = \relative c'' { \time 3/4 << {
+  <d f g>4. c c b g f a <a b> a <a' b>
+} \\ \times 1/2 {
+  <f, g b>2. a-- <a b> <g a>-. a2. a-- a a b <a b> \bar "|."
+} >> }
+
+\score{ \music }
+\markup "move Dot_column_engraver to Voice :"
+\score{ \music
+\layout {
+  \context {\Staff \remove Dot_column_engraver}
+  \context {\Voice \consists Dot_column_engraver}
+}}
index 87505e27ccdcf33665edc4ef4eb58ba4e94a85e2..dbc8dbea56b086840fd47b5ea01284d17139c174 100644 (file)
@@ -61,6 +61,7 @@
 
   \consists "Font_size_engraver"
   \consists "Separating_line_group_engraver"
+  \consists "Dot_column_engraver"
   \consists "Staff_collecting_engraver"
 
  %% perhaps move to Voice context?
@@ -226,7 +227,6 @@ multiple voices on the same staff."
   \consists "Breathing_sign_engraver"
   \consists "Note_heads_engraver"
   \consists "Dots_engraver"
-  \consists "Dot_column_engraver"
   \consists "Rest_engraver"
   \consists "Tweak_engraver"
   \consists "Footnote_engraver"