lilypond-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Implements multiple-line non-cross-staff glissandi (issue4527086)


From: address@hidden
Subject: Re: Implements multiple-line non-cross-staff glissandi (issue4527086)
Date: Sun, 26 Jun 2011 17:37:59 +0200

On Jun 26, 2011, at 4:57 PM, Neil Puttock wrote:

> On 13 June 2011 12:03,  <address@hidden> wrote:
> 
>> My goal is to bypass the default calculation and replace it with this one, 
>> and it is easier to harvest the information about Y placement relative to 
>> the staff before line breaking happens.  Currently, there is no mechanism in 
>> Line_spanner::calc_bound_info that can outsource the Y calculation to 
>> another function, and I wouldn't want to code dup all of the parts of 
>> Line_spanner::calc_bound_info that are worth keeping into a glissando 
>> specific function.  Taking that into account, does that seem like the right 
>> approach?
> 
> Now I've thought about it a bit more, it seems to be the only approach
> that will work since the original grob no longer exists if you defer
> the calculation (I did say my question might be silly. :)
> 
> BTW, I notice there's another (undocumented) key in bound-details
> which you're ignoring when the before-line-breaking callback is
> called: 'default
> 
> Cheers,
> Neil
> 

Thanks Neil!
New patch uploaded that looks for 'default and factors it into the bound 
details.

Cheers,
MS


reply via email to

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