X-Git-Url: https://git.donarmstrong.com/?a=blobdiff_plain;f=input%2Fregression%2Fflags-default.ly;h=3e815ea322182482132186910d271bb5a26fb20e;hb=12a06e5c29a2f58081068ac7663f0d6a6d4bdf95;hp=ebcfc115af0a78644446e398ee5d0078d931e71d;hpb=38d7d319eabc906e82fb42002678c6d42a23b6f7;p=lilypond.git diff --git a/input/regression/flags-default.ly b/input/regression/flags-default.ly index ebcfc115af..3e815ea322 100644 --- a/input/regression/flags-default.ly +++ b/input/regression/flags-default.ly @@ -1,10 +1,10 @@ -\version "2.12.0" +\version "2.17.6" #(set-global-staff-size 17) \header { texidoc = "Default flag styles: '(), 'mensural and 'no-flag. - Compare all three methods to print them: (1) C++ default implementation, - (2) Scheme implementation using the 'flag-style grob property and + Compare all three methods to print them: (1) C++ default implementation, + (2) Scheme implementation using the 'style grob property and (3) setting the 'flag property explicitly to the desired Scheme function. All three systems should be absolutely identical." } @@ -19,57 +19,57 @@ testnotes = { \autoBeamOff c''8 d''16 c''32 d''64 \acciaccatura {c''8} d''64 } -% Old settings: flag-style set to default, 'mensural, 'no-flag; using the +% Old settings: style set to default, 'mensural, 'no-flag; using the % default C++ function ly:stem::calc-stem { - \override Score.RehearsalMark #'self-alignment-X = #LEFT + \override Score.RehearsalMark.self-alignment-X = #LEFT \time 2/4 \mark "Default flags (C++)" \testnotes \mark "Symbol: 'mensural (C++)" - \override Stem #'flag-style = #'mensural + \override Flag.style = #'mensural \testnotes \mark "Symbol: 'no-flag (C++)" - \override Stem #'flag-style = #'no-flag + \override Flag.style = #'no-flag \testnotes } % The same, but using the Scheme implementation of default-flag { - \override Score.RehearsalMark #'self-alignment-X = #LEFT + \override Score.RehearsalMark.self-alignment-X = #LEFT \time 2/4 - \override Stem #'flag = #default-flag - \revert Stem #'flag-style + \override Flag.stencil = #default-flag + \revert Flag.style \mark "Default flags (Scheme)" \testnotes \mark "Symbol: 'mensural (Scheme)" - \override Stem #'flag-style = #'mensural + \override Flag.style = #'mensural \testnotes \mark "Symbol: 'no-flag (Scheme)" - \override Stem #'flag-style = #'no-flag + \override Flag.style = #'no-flag \testnotes } % New scheme functions: normal-flag, mensural-flag, no-flag { - \override Score.RehearsalMark #'self-alignment-X = #LEFT + \override Score.RehearsalMark.self-alignment-X = #LEFT \time 2/4 \mark "Function: normal-flag" - \override Stem #'flag = #normal-flag + \override Flag.stencil = #normal-flag \testnotes \mark "Function: mensural-flag" - \override Stem #'flag = #mensural-flag + \override Flag.stencil = #mensural-flag \testnotes \mark "Function: no-flag" - \override Stem #'flag = #no-flag + \override Flag.stencil = #no-flag \testnotes }