X-Git-Url: https://git.donarmstrong.com/?a=blobdiff_plain;f=input%2Fregression%2Ffont-name.ly;h=93485e188b3f7c756e4d789eb9148df2f27ace6c;hb=f85bd1dd9922bca9fd822549743b8d9524aadced;hp=d2ea32412ae9148ea0b452caea19d65b2059ff23;hpb=1395665466e349117f251da681262bd56c44d04e;p=lilypond.git diff --git a/input/regression/font-name.ly b/input/regression/font-name.ly index d2ea32412a..93485e188b 100644 --- a/input/regression/font-name.ly +++ b/input/regression/font-name.ly @@ -1,41 +1,28 @@ -\version "2.1.22" +\version "2.10.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 { - \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 } + } } +