[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: Bug in \offset with Fingering.font-size?
From: |
David Nalesnik |
Subject: |
Re: Bug in \offset with Fingering.font-size? |
Date: |
Sat, 1 Nov 2014 16:46:16 -0500 |
On Sat, Nov 1, 2014 at 4:34 PM, Trevor Daniels <address@hidden>
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 in \offset with Fingering.font-size?, Trevor Daniels, 2014/11/01
- Re: Bug in \offset with Fingering.font-size?,
David Nalesnik <=
- Re: Bug in \offset with Fingering.font-size?, Trevor Daniels, 2014/11/01
- Re: Bug in \offset with Fingering.font-size?, Trevor Daniels, 2014/11/01
- Re: Bug in \offset with Fingering.font-size?, Trevor Daniels, 2014/11/01
- Re: Bug in \offset with Fingering.font-size?, Trevor Daniels, 2014/11/01
- Re: Bug in \offset with Fingering.font-size?, Trevor Daniels, 2014/11/01