X-Git-Url: https://git.donarmstrong.com/?a=blobdiff_plain;f=input%2Fregression%2Ffont-name.ly;h=f2a05774a658dd48278c4aad27a44076424eacbd;hb=c832deb4718dfdc8bb8518e2872271cfe38b7dec;hp=02b057c0ec6128726920ddee99ab4f42c75bc9ce;hpb=7e8d660df15820c540b74a4ab74d175284cd9008;p=lilypond.git diff --git a/input/regression/font-name.ly b/input/regression/font-name.ly index 02b057c0ec..f2a05774a6 100644 --- a/input/regression/font-name.ly +++ b/input/regression/font-name.ly @@ -1,41 +1,34 @@ -\version "2.1.30" +\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 - % 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 } + % A comma is required + % for font name "Times New Roman"'s explicit termination. + % If there is no comma, Pango interpret "Times New Roman" as + % "Times New" family with "Roman" style. + \override Staff.TimeSignature.font-name = #"Times New Roman," + \time 3/4 + \set Score.skipBars = ##t + \override Staff.MultiMeasureRestText.font-name = #"Luxi Mono" + R1*21^"Rest in Luxi Mono" + c'1_\markup { + \override #'(font-name . "Bitstream Vera Sans, Bold") + \override #'(font-size . 4) + { This text is in large Vera Bold } + } } +