bug-lilypond
[Top][All Lists]
Advanced

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

Re: Collisions between phrasing slur and fingering, phrasing slur/slur


From: David Kastrup
Subject: Re: Collisions between phrasing slur and fingering, phrasing slur/slur
Date: Wed, 14 Nov 2018 17:35:35 +0100
User-agent: Gnus/5.13 (Gnus v5.13) Emacs/27.0.50 (gnu/linux)

Urs Liska <address@hidden> writes:

> It doesn't even work correclty when the slurs are \omit-ted:
>
> %%%
>
> \relative{
>   \key a \major
>   \omit Slur
>   cis'''16 -3 [ \( ( b -2 ) b ( a -1 ) \) a8 \strich ]
> }
>
> \relative{
>   \key a \major
>   cis'''16 -3 [ \( b -2 b a -1 \) a8 \strich ]
> }
> %%%
>
> In the second example the phrasing slur correctly avoids the
> fingerings while in the first one it prints right through them.
>
> I thought this might happen when the starting points of slur and
> phrasing slur coincide but the collision handling of the phrasing slur
> seems disabled when there is a slur *at any time*:
>
> %%%
>
> \relative{
>   \key a \major
>   cis'''16 -3 [ \( b -2 ( b )a -1 \) a8 \strich ]
> }
>
> %%%
>
> If it is true that collision handling freaks out when slurs and
> phrasing slurs exist at the same time it would be explainable that the
> end points of both fall into one.

Taking a look at the collision handling I freaked out.  The way I read
the code, extra objects avoid at most exactly _one_ slur (including
phrasing slurs) which tends to be the first in the group of the last
encountered kind, basically the one entered into its grob object "slur"
at the time it is being typeset.

This is disturbing, yes.

-- 
David Kastrup



reply via email to

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