[Top][All Lists]
[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 15:59:56 +0100 |
User-agent: |
KMail/1.9.6 |
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1
Am Freitag, 15. Februar 2008 schrieb Mats Bengtsson:
> That's a serious bug. A complete example is
> \version "2.11.39"
> \new Voice { << g2:8 { s8 s \setTextCresc s8\< s } >> g4 g \! }
It's even worse: It does not depend on parallel or multiple voices or so. The
problem happens as soon as the text cresc spanner starts at a skip. Minimal
example:
\version "2.11.39"
\relative c' { \setTextCresc s2\< g2\! }
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.
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/
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.6 (GNU/Linux)
iD8DBQFHxClwTqjEwhXvPN0RAkJJAKCXiPDgzXrlaPoG7tYDUXpRWpklQQCfUdjh
sHrnKyeUFDixpxVDxtTq2Qc=
=uqVW
-----END PGP SIGNATURE-----