]> git.donarmstrong.com Git - lilypond.git/commitdiff
engraver-init.ly: guarantee no ledger lines in NullVoice
authorPaul Morris <paulwmorris@gmail.com>
Sat, 2 Apr 2016 17:10:35 +0000 (13:10 -0400)
committerPaul Morris <paulwmorris@gmail.com>
Sun, 10 Apr 2016 19:07:24 +0000 (15:07 -0400)
for staves with custom line positions and ledger
lines that appear inside the staff.

ly/engraver-init.ly

index 4d35598887d5c39db36d29f05e14aa718050e415..6421d9efa1f3fa2aa990743062a3dbb1a5c13521 100644 (file)
@@ -828,6 +828,10 @@ context."
   \consists "Pitch_squash_engraver"
   squashedPosition = 0
 
+  %% generate no ledger lines, needed for staves with custom
+  %% line positions and ledger lines that appear inside the staff
+  \override NoteHead.no-ledgers = ##t
+
   %% the engravers that control the 'busy' flags for note-onsets and melismata
   \consists "Grob_pq_engraver"
   \consists "Tie_engraver"