bug-lilypond
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Centered dynamics bug - 2.5.15


From: Daniel Johnson
Subject: Centered dynamics bug - 2.5.15
Date: Fri, 11 Mar 2005 20:26:54 -0800
User-agent: Mozilla Thunderbird 1.0 (X11/20041208)

Hi all--

When using the centered dynamics described in Sec. 3.3.4 of the manual, I've discovered that attaching the dynamic to a beat that has a text script also attached causes the dynamic to shift to the horizontal center of the text script. I've attached the output. (Actually, I had to jump through some hoops just to get the png output -- used ps2ppm, then converted the pgm to a png, because ps2png is failing with the error message "Unknown device: png16m". This means, of course, that I still can't make web. I am using ESP Ghostscript 8.15rc2.)

I have also encountered this bug in 2.5.10.

Here's the .ly file:

%begin centered-dynamics sample file
\version "2.5.15"

\paper {raggedright = ##t}

tempoOne = \markup { \bold "Allegro non troppo" "(" \raise #0.25 \teeny \note #"4" #1 "=116)"}
tempomarking = \markup { \translate #(cons -4 0) \column { \tempoOne " " }}

rh = \relative c''' {
   \time 2/4 \key f \major \clef treble
<c a c,>4.^\tempomarking( <d bes>8) | <d bes>8[( <c a>) <bes g>-. <a f>-.] |
}
lh = \relative c' {
   \time 2/4 \key f \major \clef bass
<a c, f,>4. \clef treble <d' bes>8-. |<d bes>8[( <c a>) <bes g>-. <a f>-.] |
}
dyn = { s2\f s2 }

\score {
   \context PianoStaff <<
       \context Staff = upper \rh
       \context Dynamics=dyn \dyn
       \context Staff = lower \lh
   >>
   \layout {
       \context { \RemoveEmptyStaffContext }
       \context {
\type "Engraver_group_engraver" \name Dynamics \alias Voice \consists "Output_property_engraver"
           minimumVerticalExtent = #'(-1 . 1)
\consists "Piano_pedal_engraver" \consists "Script_engraver" \consists "Dynamic_engraver" \consists "Text_engraver"
           \override TextScript #'font-size = #2
           \override TextScript #'font-shape = #'italic
           \override DynamicText #'extra-offset = #'(0 . 2.5)
           \override Hairpin #'extra-offset = #'(0 . 2.5)
\consists "Skip_event_swallow_translator" \consists "Axis_group_engraver"
       }
\context { \PianoStaff \accepts Dynamics \override VerticalAlignment #'forced-distance = #6 }
   }
}
%end centered-dynamics sample file

reply via email to

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