]> git.donarmstrong.com Git - lilypond.git/blob - input/regression/gonville.ly
Rename aybabtu font to emmentaler-brace.
[lilypond.git] / input / regression / gonville.ly
1 \header {
2
3   texidoc = "The default music font can be overridden by setting
4   @code{(font-family . gonville)} in the @code{font-defaults} in the
5   paper block."
6
7 }
8
9 \version "2.13.6"
10
11 \paper {
12   % Load the alternative font definitions into the font tree.
13 % temporarily disabled to allow a release.  -gp
14 %  #(add-music-fonts fonts "gonville" 'gonville (/ staff-height (* 20 pt)))
15 }
16
17 %{
18   Note: for this to work, do something like
19
20      wget -P out http://www.chiark.greenend.org.uk/~sgtatham/gonville/gonville-r8724.tar.gz
21      tar xzf out/gonville-r8724.tar.gz
22      ln out/gonville-r8724/lilyfonts/otf/gonville* out/share/lilypond/current/fonts/otf/
23      (cd out/share/lilypond/current/fonts/otf && for i in gonville*; do mv $i $(echo $i | sed s/gonville/gonville-/); done)
24
25
26   To show all available fonts, do
27
28      lilypond -dshow-available-fonts blabla
29
30 %}
31
32 \relative c'' {
33   \set Staff.instrumentName = #"Default"
34   a4-\trill b8 c16 d32
35 }
36
37 \score {
38   \relative c'' {
39     \set Staff.instrumentName = #"Feta"
40     a4-\trill b8
41     c16 d32
42   }
43   \layout {
44     #(define font-defaults
45       '((font-family . feta) (font-encoding . fetaMusic)))
46   }
47 }
48
49 \score {
50   \relative c'' {
51 % temporarily disabled to allow a release.  -gp
52 %    \set Staff.instrumentName = #"Gonville"
53     a4-\trill b8 c16 d32
54   }
55   \layout {
56     #(define font-defaults
57       '((font-family . gonville) (font-encoding . fetaMusic)))
58   }
59 }