bug-lilypond
[Top][All Lists]
Advanced

[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 18:53:08 -0500

On Sat, Nov 1, 2014 at 6:21 PM, Trevor Daniels <address@hidden>
wrote:

>
> David Nalesnik wrote Saturday, November 01, 2014 10:53 PM
>
> >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.
>
>
That's a really interesting idea.  I'll have to try it out to see what kind
of effect it has in practice.

Wouldn't it just be duplicating the effect of an ordinary override of the
property?  Would this be a better behavior than what happens
currently--maybe give a warning "no default found, using 0.0" and at least
do something nice?

Actually, it might not be hard to enhance \offset to deal with Script.  The
defaults aren't stored in define-grobs, rather they're in script.scm. I'll
look into that.

--David


reply via email to

[Prev in Thread] Current Thread [Next in Thread]