Menu

#1724 DynamicTextSpanner inside Dynamics context are shifted due to pedal

Verified
nobody
None
Defect
2011-06-30
2011-06-30
Anonymous
No

Originally created by: *anonymous

Originally created by: brownian.box@gmail.com

Reported by Xavier Scheuer,
http://lists.gnu.org/archive/html/bug-lilypond/2011-06/msg00600.html :

%-----------8<---------------------
DynamicTextSpanner inside a Dynamics context are shifted to the left if there is a Pedal inside another Dynamics context.

That leads to really poor output of the DynamicTextSpanner, which are shifted left (compared to when they are well aligned without the pedal) and so colliding with the bar line.

This is really an issue for every piano score (using the Dynamics context, i.e. centered dynamics and pedal on a horizontal line).
%-----------8<---------------------

\version "2.15.3"

\score {
  <<
    \new PianoStaff <<
      \new Staff = "up" {
        \clef treble
        \repeat unfold 32 c'4
      }
      \new Dynamics = "dynamics" {
        \repeat unfold 2 {
          s1\cresc s1\f s1\dim s1\p
        }
      }
      \new Staff = "down" {
        \clef bass
        \repeat unfold 32 c4
      }
      \new Dynamics= "pedal" {
        \repeat unfold 2 {
          s1\sustainOn s1\sustainOff
        }
      }
    >>
  >>
}

\paper { indent = 0 }
%-----------8<---------------------

Spanners are better (normally) aligned when there is no pedal in otehr context.

1 Attachments

Discussion

  • Google Importer

    Google Importer - 2011-06-30

    Originally posted by: n.putt...@gmail.com

    (No comment was entered for this change.)

    Mergedinto: 620
    Status: Duplicate

     
  • Google Importer

    Google Importer - 2011-06-30

    Originally posted by: brownian.box@gmail.com

    Thank you. It appeared too hard to find issue 620.

    Mergedinto:
    Status: Verified

     
Want the latest updates on software, tech news, and AI?
Get latest updates about software, tech news, and AI from SourceForge directly in your inbox once a month.