]> git.donarmstrong.com Git - lilypond.git/blob - input/regression/font-magnification.ly
678604505f6e9983d2a438b68caa9478919d2360
[lilypond.git] / input / regression / font-magnification.ly
1 #(ly:set-option 'old-relative)
2 \version "1.9.1"
3 \header { texidoc = "The magnification can be set for any font. Note
4 that this doesn't change variable symbols such as beams or slurs. " }
5
6 \score {
7 \notes \relative c'' \context Voice {
8 \property Voice .NoteHead \set #'font-magnification = #0.9
9 c4
10 \property Voice .NoteHead \set #'font-magnification = #0.8
11
12
13 c4-"normal"
14   % why doesn't this  work?
15   c4\markup \bold \magnify #2.0 "foobar"
16
17   \property Voice .NoteHead \set #'font-magnification = #1.2
18   \property Voice.TextScript \set #'font-magnification = #2.0
19   c4-"big"
20   \property Voice .NoteHead \set #'font-magnification = #1.6
21   c4
22 }
23
24 }
25
26