]> git.donarmstrong.com Git - lilypond.git/blobdiff - input/regression/font-magnification.ly
new file
[lilypond.git] / input / regression / font-magnification.ly
index bd86af248e577cf3f322749f19d8ad20f057991a..763dff70a98ecf2632b0007449a01f1cdf726d53 100644 (file)
@@ -1,26 +1,27 @@
 
-\version "1.9.2"
+\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
 }
 
-}
+