David Nalesnik wrote Saturday, November 01, 2014 10:53 PM

> On Sat, Nov 1, 2014 at 5:29 PM, Trevor Daniels <t.dani...@treda.co.uk> 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
_______________________________________________
bug-lilypond mailing list
bug-lilypond@gnu.org
https://lists.gnu.org/mailman/listinfo/bug-lilypond

Reply via email to