bug-lilypond
[Top][All Lists]
Advanced

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

Re: Lyrics break estimation of vertical spacing


From: Joe Neeman
Subject: Re: Lyrics break estimation of vertical spacing
Date: Tue, 23 Mar 2010 20:01:33 -0700

On Tue, 2010-03-23 at 22:51 -0400, Boris Shingarov wrote:
> > The estimated height for the whole system _should_ take into account the
>   > fact that the lyrics can be squeezed between the systems. Have a look at
>   > the comment in align-interface.cc:104 (which should get called as a
>   > result of sys->pure_height()). The begin_of_line_extent should be zero
>   > for lyrics, which should allow the lines to be close together in the
>   > height-estimation procedure. 
>  
> Ok, I just got one step forward in the dichotomy of where the bug is. 
> The begin_of_line_extent is zero.  Moreover, the problem is NOT
> specific to lyrics, and is observed also if there are low notes.  So, I am
> concentrating my attention on what's happening in the callers of
> get_skylines().  (Need to understand now why these skylines are
> part of "translation" and not "height"). 

The skylines are used as part of VerticalAlignment, to figure out how
far apart the children of VerticalAlignment (ie. VerticalAxisGroups for
staves, lyrics, etc) need to be. Once we compute the translations of the
children of VerticalAlignment, we can compute the height of
VerticalAlignment (and thus the height of System).

Cheers,
Joe






reply via email to

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