summaryrefslogtreecommitdiff
path: root/ly
diff options
context:
space:
mode:
authorPaul Morris <paulwmorris@gmail.com>2016-04-02 13:10:35 -0400
committerPaul Morris <paulwmorris@gmail.com>2016-04-10 15:07:24 -0400
commit1fe9ecabebaf686ebff62cc9b8e47bab43ff7b9e (patch)
tree18907d523f4656e630287556332e0491b6c332dd /ly
parent9d1f4d4d16abf95cccf6bea9cf98c312e55a3ebf (diff)
engraver-init.ly: guarantee no ledger lines in NullVoice
for staves with custom line positions and ledger lines that appear inside the staff.
Diffstat (limited to 'ly')
-rw-r--r--ly/engraver-init.ly4
1 files changed, 4 insertions, 0 deletions
diff --git a/ly/engraver-init.ly b/ly/engraver-init.ly
index 4d35598887..6421d9efa1 100644
--- a/ly/engraver-init.ly
+++ b/ly/engraver-init.ly
@@ -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"