2008/2/26, Reinhold Kainhofer <[EMAIL PROTECTED]>:
>  > > 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 - [EMAIL PROTECTED] - http://www.xs4all.nl/~hanwen


_______________________________________________
bug-lilypond mailing list
bug-lilypond@gnu.org
http://lists.gnu.org/mailman/listinfo/bug-lilypond

Reply via email to