]> git.donarmstrong.com Git - lilypond.git/blobdiff - input/regression/font-magnification.ly
new file
[lilypond.git] / input / regression / font-magnification.ly
index c1ce9bb5fae621fcf64a5d6c48dab7c304fa7d39..763dff70a98ecf2632b0007449a01f1cdf726d53 100644 (file)
@@ -1,25 +1,27 @@
-\version "1.7.6"
+
+\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
 
 
-  % why doesn't this  work?
-  c4-#'((font-series . bold) ((font-magnification . 2.0) ("foobar")))
+  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
 }
 
-}
 
-%% new-chords-done %%
-%% new-chords-done %%
+
+