|
From: | David Nalesnik |
Subject: | Re: Cross-staff Glissando Stencil Error |
Date: | Fri, 22 Nov 2013 07:27:39 -0600 |
Maybe you can override the 'stencil command itself with a wrapper function.
LilyPond will call the wrapper when she is ready to draw the Glissando,
you can first call the default function (ly:line-spanner::print) to
generate the stencil, modify what it returns, and return the modified
stencil from your wrapper function to be printed.
#(define test
(lambda (grob)
(let ((stil (ly:line-spanner::print grob)))
(ly:stencil-scale stil 1 0.8))))
\score {
\new PianoStaff <<
\new Staff = "right" {
\once \override Glissando.stencil = #test
c''2. \glissando
\change Staff = "left"
c,4 |
}
\new Staff = "left" {\clef bass s1}
>>
}
\markup ooops
[Prev in Thread] | Current Thread | [Next in Thread] |