On Thu, Oct 7, 2010 at 5:24 AM, Marten Visser <[email protected]> wrote: > > Pertains at least to 2.13.32 and up. Lower versions not tested. > > between-staff-spacing #'padding should be relative to the actual staff size, > but it's relative to default staff size. > > Output for 2.13.35 is attached. > > --------------------------------------- > %{ > Example: > spacing between staves of pianoStaff does not scale with staff size > Goes wrong in version 2.13.35, but also in 2.13.32. (No other versions > tested.) > %} > > \version "2.13.35" > > TheNotes = { c''4 a' e'8 c' e'4 } > > TheScore = #(define-music-function (parser location UseSize) (number?) > #{ > \new PianoStaff > \with > { > instrumentName = #(markup #:normal-text "Staff size:" > (number->string $UseSize)) > \override StaffGrouper #'between-staff-spacing #'space = #0 > \override StaffGrouper #'between-staff-spacing #'padding = #-10 > } > << > \new Staff = "up" \with > { > fontSize = #$UseSize > \override StaffSymbol #'staff-space = #(magstep > $UseSize) > } > \TheNotes > \new Staff = "up" \with > { > fontSize = #$UseSize > \override StaffSymbol #'staff-space = #(magstep > $UseSize) > } > \TheNotes > >> > #} > ) > > > \score { > << > \TheScore #-3 > >> > } > > \score { > << > \TheScore #0 > >> > } > > \score { > << > \TheScore #3 > >> > }
The default value for #'between-staff-spacing #'padding is "1", and the default value for #'between-staff-spacing #'space is "9". So, if I understand correctly, are you saying that the default settings (without overrides) also scale inappropriately? Attached is an image of your example without overriding #'between-staff-spacing. Thanks, Patrick
<<attachment: staff-scaling.png>>
_______________________________________________ bug-lilypond mailing list [email protected] http://lists.gnu.org/mailman/listinfo/bug-lilypond
