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
_______________________________________________
bug-lilypond mailing list
[email protected]
http://lists.gnu.org/mailman/listinfo/bug-lilypond

Reply via email to