lilypond-devel
[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: Reinhold Kainhofer
Subject: Re: Alignment problem with text crescendo in << {...} {...} >> in 2.11
Date: Tue, 26 Feb 2008 18:14:40 +0100
User-agent: KMail/1.9.7

Am Dienstag, 26. Februar 2008 schrieb Han-Wen Nienhuys:
> 2008/2/26, Reinhold Kainhofer <address@hidden>:
> >  A little digging in the line-spanner.cc code (and adding debug output)
> > 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?

Cheers,
Reinhold

-- 
------------------------------------------------------------------
Reinhold Kainhofer, Vienna University of Technology, Austria
email: address@hidden, http://reinhold.kainhofer.com/
 * Financial and Actuarial Mathematics, TU Wien, http://www.fam.tuwien.ac.at/
 * K Desktop Environment, http://www.kde.org, KOrganizer maintainer
 * Chorvereinigung "Jung-Wien", http://www.jung-wien.at/

Attachment: 0002-Fix-alignment-problem-with-text-crescendi.patch
Description: Text Data


reply via email to

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