[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: Bug in \offset with Fingering.font-size?
From: |
Trevor Daniels |
Subject: |
Re: Bug in \offset with Fingering.font-size? |
Date: |
Sat, 1 Nov 2014 23:21:27 -0000 |
David Nalesnik wrote Saturday, November 01, 2014 10:53 PM
> On Sat, Nov 1, 2014 at 5:29 PM, Trevor Daniels <address@hidden> wrote:
>
>> It also fails to work on Script.padding, although it's fine for
>> DynamicLineSpanner.padding.
>>
>>Is this a similar problem?
>
> Actually, no. To work, \offset needs access to a default value--a number,
> number-pair, or list of number-pairs--or a default procedure to calculate
> these values with. If you don't find an entry in define-grobs.scm, it will
> have nothing to work with.
>
> DynamicLineSpanner.padding works because it's set by default to 0.6.
Hm. I wonder if it would go badly wrong if it simply assumed 0 in
such cases? Or #'(0 . 0) - whatever it was expecting. You'd have to assume
the form given in the passed offset value was correct, I suppose. In
other words, work as if it were \override or \tweak.
Trevor