On 5 févr. 2013, at 21:32, "[email protected]" <[email protected]> wrote:

> So, find #1...
> 
> If you replace all of the empty strings in the fourth lyric group by:
> \repeat unfold 33 \skip 1
> or
> \repeat unfold 33 " "
> The problem goes away.  So the skyline code doesn't like something about the 
> empty string...
> 

Find #2...

There is a vertical axis group of empty lyrics that is never suicided in the 
example with "" that is suicided in the example with \skip 1.
So, the finding of distances is somehow thrown off when a vertical axis group 
is empty.
An easy fix to this (just tested it) is to add to the end of 
Axis_group_interface::skyline_spacing the following:

if (skylines.is_empty ()) {
  for (DOWN_and_UP (d))
    skylines[d].set_minimum_height (0.0);
}

That way, a proper distance can be measured between the empty skyline and the 
other one.

However, this seems kludgy - ideally, we should never let this vertical axis 
group survive to this point.  I'll try to find a way to scrub it earlier...

Cheers,
MS
_______________________________________________
bug-lilypond mailing list
[email protected]
https://lists.gnu.org/mailman/listinfo/bug-lilypond

Reply via email to