]> git.donarmstrong.com Git - lilypond.git/blobdiff - input/regression/font-name.ly
Rerun scripts/auxiliar/update-with-convert-ly.sh
[lilypond.git] / input / regression / font-name.ly
index 91644304d794c6740412cf81048ef8dee9e2cca5..d0e9a472c51c0e08f0a31c64015a38395773d383 100644 (file)
@@ -1,41 +1,29 @@
-\version "2.2.0"
+\version "2.17.6"
 
 \header {
 
-    texidoc = "Other fonts can be used by setting font-name for
-the appropriate object. This may include Postscript fonts that are
-available through (La)TeX.
-
-"
+    texidoc = "Other fonts can be used by setting @code{font-name} for
+the appropriate object. The string should be a Pango font description
+without size specification."
 
 
 }
 
-%{
-
- Postscript fonts are switched off by default,
- for compatibility with TeX installations that have no
- PS fonts installed.
-%}
-
-\score {
-    \notes {
-       \override Staff.TimeSignature  #'font-name = #"cmr17"
-       \set Score.skipBars = ##t
+\layout { ragged-right = ##t }
 
-       % use font-name putri8r for Utopia Italic :
-       
-       \override Staff.MultiMeasureRestText   #'font-name = #"cmss12"
 
+{
+  \override Score.PaperColumn.keep-inside-line = ##f
+  \override Staff.TimeSignature.font-name = #"Times New Roman"
+  \time 3/4
+  \set Score.skipBars = ##t
+  \override Staff.MultiMeasureRestText.font-name = #"LuxiMono"
+  R1*21^"Rest in LuxiMono"
 
-       % use "ptmb8r" for Times Roman
-       
-       c'1_\markup { \override #'(font-name . "cmdunh10")
-                         { This text is Dunhill } }
-
-            R1*21^"Wait for Utopia Italic"
-            }
-    
-    \paper { raggedright = ##t }
-
+  c'1_\markup {
+    \override #'(font-name . "Vera Bold")
+      \override #'(font-size . 4)
+        { This text is in large Vera Bold }
+  }
 }
+