X-Git-Url: https://git.donarmstrong.com/?a=blobdiff_plain;f=input%2Fregression%2Ffont-name.ly;h=062f2f7549626d18b63bbd1048b7f1dfd34703a7;hb=3dd7c6f29c9ca494976f69736b470b6300135099;hp=7b6307b5bd59363c0c45890f32ab1227155dbffa;hpb=11613b92019bb42418863f43de92287a64878f14;p=lilypond.git diff --git a/input/regression/font-name.ly b/input/regression/font-name.ly index 7b6307b5bd..062f2f7549 100644 --- a/input/regression/font-name.ly +++ b/input/regression/font-name.ly @@ -1,41 +1,28 @@ -\version "1.9.2" +\version "2.12.0" \header { - texidoc = "Using other fonts can be done 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 { - \property Staff.TimeSignature \set #'font-name = #"cmr17" - \property Score.skipBars = ##t +\layout { ragged-right = ##t } - % use font-name putri8r for Utopia Italic : - - \property Staff.MultiMeasureRestText \set #'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 } + } } +