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"
_______________________________________________
lilypond-devel mailing list
[email protected]
https://lists.gnu.org/mailman/listinfo/lilypond-devel