X-Git-Url: https://git.donarmstrong.com/?a=blobdiff_plain;f=input%2Fregression%2Ffont-name.ly;h=93485e188b3f7c756e4d789eb9148df2f27ace6c;hb=f70f949ada045f29480bdfde1e855fa5367dc639;hp=91644304d794c6740412cf81048ef8dee9e2cca5;hpb=3684e949054183e4a31e17f5e7ab0bf30da0123e;p=lilypond.git diff --git a/input/regression/font-name.ly b/input/regression/font-name.ly index 91644304d7..93485e188b 100644 --- a/input/regression/font-name.ly +++ b/input/regression/font-name.ly @@ -1,41 +1,28 @@ -\version "2.2.0" +\version "2.10.0" \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 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 } + } } +