bug-lilypond
[Top][All Lists]
Advanced

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

Re: Alignment problem with text crescendo in << {...} {...} >> in 2.11


From: Han-Wen Nienhuys
Subject: Re: Alignment problem with text crescendo in << {...} {...} >> in 2.11
Date: Tue, 26 Feb 2008 17:01:27 -0300

2008/2/26, Reinhold Kainhofer <address@hidden>:
>  > > shows that in Line_spanner::calc_bound_info, the "X" value is really set
>  > > to nan (i.e. bound_grob->extent (commonx, X_AXIS).linear_combination
>  > > (attach)) returns "nan"). If I use g2\< instead of s2\<, a value of
>  > > 17,... is returned.
>  >
>  > I suppose this should robust_relative_extent() rather than extent()
>
>
> Exactly! Using robust_relative_extent instead really fixes the problem.
>
>  Patch is attached. Okay to apply?

looks good to me.

We should really do an audit of all extent() calls and replace with
robust_relative_extent() if necessary.

-- 
Han-Wen Nienhuys - address@hidden - http://www.xs4all.nl/~hanwen




reply via email to

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