X-Git-Url: https://git.donarmstrong.com/?a=blobdiff_plain;f=input%2Fregression%2Ffont-name.ly;h=d0e9a472c51c0e08f0a31c64015a38395773d383;hb=refs%2Fheads%2Fupstream-mut;hp=3a593d8cb8a6f9b8b0e24a7e943ae0b8a0f5a858;hpb=4c8187e65dd9708d7733692842acc696da121bf1;p=lilypond.git diff --git a/input/regression/font-name.ly b/input/regression/font-name.ly index 3a593d8cb8..d0e9a472c5 100644 --- a/input/regression/font-name.ly +++ b/input/regression/font-name.ly @@ -1,41 +1,29 @@ -\version "2.1.7" +\version "2.17.6" \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 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 } + } } +