]> git.donarmstrong.com Git - lilypond.git/blob - input/regression/font-name.ly
657b5148f650555d7f97dd9d5e05cc834f993974
[lilypond.git] / input / regression / font-name.ly
1 \version "2.4.0"
2
3 \header {
4
5     texidoc = "Other fonts can be used by setting font-name for
6 the appropriate object. This may include Postscript fonts that are
7 available through (La)TeX.
8
9 "
10
11
12 }
13
14 %{
15
16  Postscript fonts are switched off by default,
17  for compatibility with TeX installations that have no
18  PS fonts installed.
19 %}
20
21 \score {
22      {
23         \override Staff.TimeSignature  #'font-name = #"cmr17"
24         \set Score.skipBars = ##t
25
26         % use font-name putri8r for Utopia Italic :
27         
28         \override Staff.MultiMeasureRestText   #'font-name = #"cmss12"
29
30
31         % use "ptmb8r" for Times Roman
32         
33         c'1_\markup { \override #'(font-name . "cmdunh10")
34                           { This text is Dunhill } }
35
36              R1*21^"Wait for Utopia Italic"
37              }
38     
39     \layout { raggedright = ##t }
40
41 }