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: Mats Bengtsson
Subject: Re: Alignment problem with text crescendo in << {...} {...} >> in 2.11
Date: Fri, 15 Feb 2008 13:23:37 +0100
User-agent: Thunderbird 2.0.0.5 (X11/20070716)

That's a serious bug. A complete example is
\version "2.11.39"
\new Voice { << g2:8 { s8 s \setTextCresc s8\< s } >>  g4 g \! }

Trevor's workaround also has sever problems since the implicit \voiceOne
and possible collisions with hidden notes will affect the layout.

  /Mats

Trevor Daniels wrote:
Seems to be a bug arising from a combination of
\setTextCresc and spacers.  Seems to work ok in 2.11.34
as-is with hairpins (possible workaround) or if the spacer
to which the \< is attached is replaced by a pitched note
and the << \\ >> construct is used for the duration of the
spanner (possible workaround with \hideNotes), like this:

\relative c' {
    \time 2/4 \key b \major
    fis2:8 | % 37
    << { g2:8 }   \\ { \hideNotes s8 \setTextCresc s c8\<
s } >> | % 38
    << { fis2:8 } \\ { s2 } >> | % 39
    << { g2:8 }   \\ { s8 s s\!\mf s } >> |
    << g2:8 { s8 s\< s\! s } >> |
    fis2:8 | % 42
}

Trevor D

-----Original Message-----
From: address@hidden
[mailto:lilypond-devel-bounces+t.daniels=treda.co.
address@hidden Behalf
Of Reinhold Kainhofer
Sent: 14 February 2008 23:53
To: LilyPond Development
Subject: Alignment problem with text crescendo in
<< {...} {...} >> in
2.11


I have a score, where some text crescendi start
during a note, so I'm using a
parallel voice of skips to correctly align the "cresc.":

    << g2:8 { s8 s \setTextCresc s8\< s } >> | % 38

However, while this works in 2.10, in 2.11 the
"cresc." is not correctly
aligned, but rather placed at the very beginning
of the staff line!
And on the command line I get the error messages:

Drawing systems...
programming error: Improbable offset for stencil:
nan staff space
Setting to zero.
continuing, cross fingers
programming error: Improbable offset for stencil:
nan staff space
Setting to zero.
continuing, cross fingers
Layout output to `cresc_align_problem.ps'...


Attached is a simple example displaying the
problem. Aligning dynamic text and
hairpin crescendi works fine, as the example shows, too.

Is there an easy fix, or at least an easy workaround?
I have to finish the whole orchestra material for
a large concert in the next
two or three days, and this problem appears 58
times in the instrumental
scores (judging from the number of error
messages...)... Apparently,
crescendi appearing in the wrong position is not
what is acceptable in scores
used for a performance!

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/




_______________________________________________
lilypond-devel mailing list
address@hidden
http://lists.gnu.org/mailman/listinfo/lilypond-devel

--
=============================================
        Mats Bengtsson
        Signal Processing
        School of Electrical Engineering
        Royal Institute of Technology (KTH)
        SE-100 44  STOCKHOLM
        Sweden
        Phone: (+46) 8 790 8463                         
       Fax:   (+46) 8 790 7260
        Email: address@hidden
        WWW: http://www.s3.kth.se/~mabe
=============================================





reply via email to

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