[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
engraver-init.ly: guarantee no ledger lines in NullVoice (issue 29773004
From: |
paulwmorris |
Subject: |
engraver-init.ly: guarantee no ledger lines in NullVoice (issue 297730043 by address@hidden) |
Date: |
Sat, 02 Apr 2016 18:03:55 +0000 |
Reviewers: ,
Message:
Please review. See issue 4818 for examples that show this obscure edge
case. Luckily it was an easy fix once I figured out what was going on.
Thanks, -Paul
Description:
engraver-init.ly: guarantee no ledger lines in NullVoice
for staves with custom line positions and ledger
lines that appear inside the staff.
Please review this at https://codereview.appspot.com/297730043/
Affected files (+4, -0 lines):
M ly/engraver-init.ly
Index: ly/engraver-init.ly
diff --git a/ly/engraver-init.ly b/ly/engraver-init.ly
index
4d35598887d5c39db36d29f05e14aa718050e415..6421d9efa1f3fa2aa990743062a3dbb1a5c13521
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"
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- engraver-init.ly: guarantee no ledger lines in NullVoice (issue 297730043 by address@hidden),
paulwmorris <=