X-Git-Url: https://git.donarmstrong.com/?a=blobdiff_plain;f=input%2Fregression%2Ffont-magnification.ly;h=763dff70a98ecf2632b0007449a01f1cdf726d53;hb=85d1c7a7d1f4763352cfd70577bb6ab39862cdad;hp=3e739b36f6056da6cf545f5d1cf639f2294bd86e;hpb=66331c5dd92bbe2926a8566e0a2defc4834b5967;p=lilypond.git diff --git a/input/regression/font-magnification.ly b/input/regression/font-magnification.ly index 3e739b36f6..763dff70a9 100644 --- a/input/regression/font-magnification.ly +++ b/input/regression/font-magnification.ly @@ -1,26 +1,27 @@ -#(ly:set-option 'old-relative) -\version "1.9.1" + +\version "2.6.0" \header { texidoc = "The magnification can be set for any font. Note -that this doesn't change variable symbols such as beams or slurs. " } +that this does not change variable symbols such as beams or slurs. +" } + -\score { -\notes \relative c'' \context Voice { -\property Voice .NoteHead \set #'font-magnification = #0.9 -c4 -\property Voice .NoteHead \set #'font-magnification = #0.8 +\relative c'' \context Voice { + \override NoteHead #'font-magnification = #0.9 + c4 + \override NoteHead #'font-magnification = #0.8 -c4-"normal" - % why doesn't this work? + c4-"normal" + %% why doesn't this work? c4-\markup \bold \magnify #2.0 "foobar" - \property Voice .NoteHead \set #'font-magnification = #1.2 - \property Voice.TextScript \set #'font-magnification = #2.0 + \override NoteHead #'font-magnification = #1.2 + \override TextScript #'font-magnification = #2.0 c4-"big" - \property Voice .NoteHead \set #'font-magnification = #1.6 + \override NoteHead #'font-magnification = #1.6 c4 } -} +