On Sat, Nov 1, 2014 at 4:34 PM, Trevor Daniels <[email protected]>
wrote:
> Should \offset work with the font-size of fingering? It doesn't seem to.
> The default value is -5, so offsetting by -2 should give -7, with a size as
> shown by the \override and \tweak, but both forms of \offset give 0.
>
> {
> \set fingeringOrientations = #'(left)
> <a'-2>4
> \override Fingering.font-size = #-7
> <a'-2>
> \once \offset font-size #-2 Fingering
> <a'-2>
> <a'-\tweak font-size #-7 -2>
> <a'-\offset font-size #-2 -2>
> }
>
>
You're seeing this behavior with \offset because 'font-size can't be set to
a callback, which \offset does. You can see the same behavior here:
{
\set fingeringOrientations = #'(left)
<a'-2>4
\override Fingering.font-size = #(lambda (grob) -7)
<a'-2>
}
You get the same result setting font-size to ##f or 0.
Enhancing 'font-size to process callbacks would be a useful feature, I
think.
--David
_______________________________________________
bug-lilypond mailing list
[email protected]
https://lists.gnu.org/mailman/listinfo/bug-lilypond