-
Notifications
You must be signed in to change notification settings - Fork 0
/
fonts.ily
51 lines (46 loc) · 1.95 KB
/
fonts.ily
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
#(ly:font-config-add-directory "./fonts/")
#(define my-staff-height #f)
\paper {
#(set! my-staff-height staff-height)
}
$(if (ly:version? >= '(2 25 4))
#{
\paper {
property-defaults.fonts.sans = "FuturaPT"
}
#}
#{
\paper {
fonts = #(set-global-fonts
#:sans "Futura PT"
#:factor (/ my-staff-height (ly:pt 1) 20))
}
#})
\layout {
\override HorizontalBracketText.font-family = #'sans
\override TupletNumber.font-family = #'sans
\override Parentheses.font-size = #0
\override TextSpanner.font-name = #'"FuturaPTBookItalic"
\override TextSpanner.font-size = #-1
\override DynamicTextSpanner.font-name = #'"FuturaPTBookItalic"
\override DynamicTextSpanner.font-size = #-1
\override TextScript.font-family = #'sans
\override LyricText.font-family = #'sans
\override Score.BarNumber.font-family = #'sans
\override Score.JumpScript.font-name = #'"FuturaPTBookItalic"
\override Score.VoltaBracket.font-name = #'"FuturaPTdemi"
\override Score.MetronomeMark.font-name = #'"FuturaPTdemi"
\override Score.RehearsalMark.font-name = #'"FuturaPTdemi"
\override Score.TextMark.font-family = #'sans
\override Score.CodaMark.font-size = #4
\override Score.SegnoMark.font-size = #4
\override Score.SectionLabel.font-family = #'sans
\override Score.VoltaBracket.font-size = #-1
\override Staff.StringNumber.font-name = #'"FuturaPTdemi"
\override Staff.Fingering.font-name = #'"FuturaPTdemi"
\override Staff.OttavaBracket.font-name = #'"FuturaPTBookItalic"
\override Staff.OttavaBracket.font-size = #-2
\override Staff.InstrumentName.font-family = #'sans
}
\markup bold = \markup \override #'(font-name . "FuturaPTDemi") \etc
\markup italic = \markup \override #'(font-name . "FuturaPTBookItalic") \etc