lilypond-devel
[Top][All Lists]
Advanced

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

Re: Turns off TupletBracket collision avoidance if Script avoids slur (i


From: address@hidden
Subject: Re: Turns off TupletBracket collision avoidance if Script avoids slur (issue 5821051)
Date: Fri, 16 Mar 2012 00:27:39 +0100

On Mar 15, 2012, at 12:03 PM, address@hidden wrote:

> On 2012/03/14 20:35:34, MikeSol wrote:
>> Meh...not my best work, but it is a first step towards fixing this
> problem.
> 
> To me it looks more like an attempt to hide the problem's symptoms.  It
> does not appear to have any relation with line-breaking which is the
> context in which the problem manifested itself.
> 

The problem is a circular dependency:

--) Tuplet bracket position calculation trys to avoid script
--) Tuplet bracket gets script's coordinates
--) Script has slur offset callback chained to it
--) Slur offset callback needs to know slur positions
--) Slur positions determined by encompass objects
--) Slur encompasses tuplet number
--) Tuplet number depends on tuplet bracket's position

I don't know where/how line breaking factors into it, but the above description 
is definitely what's going on.  What I've proposed is a short, minimally 
invasive workaround until a more thorough solution can be thought out.

Cheers,
MS


reply via email to

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