]> git.donarmstrong.com Git - lilypond.git/blobdiff - ly/engraver-init.ly
engraver-init.ly: guarantee no ledger lines in NullVoice
[lilypond.git] / 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"