[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: chord name collide with staff
From: |
address@hidden |
Subject: |
Re: chord name collide with staff |
Date: |
Tue, 5 Feb 2013 21:55:07 +0100 |
On 5 févr. 2013, at 21:32, "address@hidden" <address@hidden> 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
- Re: chord name collide with staff, address@hidden, 2013/02/05
- Re: chord name collide with staff, David Kastrup, 2013/02/05
- Re: chord name collide with staff, David Kastrup, 2013/02/05
- Re: chord name collide with staff, address@hidden, 2013/02/05
- Re: chord name collide with staff,
address@hidden <=
- Re: chord name collide with staff, address@hidden, 2013/02/05
- Re: chord name collide with staff, address@hidden, 2013/02/05
- Re: chord name collide with staff, David Kastrup, 2013/02/05
- Re: chord name collide with staff, address@hidden, 2013/02/06
- Re: chord name collide with staff, David Kastrup, 2013/02/06
Re: chord name collide with staff, Colin Hall, 2013/02/16