lilypond-devel
[Top][All Lists]
Advanced

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

Re: Design flaw in Rest_collision


From: Keith OHara
Subject: Re: Design flaw in Rest_collision
Date: Sun, 4 Nov 2012 23:42:16 +0000 (UTC)
User-agent: Loom/3.14 (http://gmane.org/)

mike <at> mikesolomon.org <mike <at> mikesolomon.org> writes:

> If a Rest being managed by a RestCollision, a call to Grob::extent with any 
> common refpoint other than the Rest itself will trigger at some point 
> Rest_collision:calc_positioning_done ...
> 

Not more than once.
rest-collision.cc:calc_positioning_done() sets 'positioning-done' to true,
presumably to indicate that it has taken responsibility for positioning all
the rests within this RestCollision object.

Rests in outer voices do not often need to move to avoid rests in inner
voices, but when they do, it seems to work correctly:

\new Staff \with {\override StaffSymbol #'staff-space = 0.7 } <<
 \new Voice {\voiceOne r2 g''2}
 \new Voice {\voiceThree r4 e''4 c''2}
 \new Voice {\voiceFour r4. e'8 g'2}
 \new Voice {\voiceTwo r2 c'2} >>





reply via email to

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