document font-name.
* input/regression/font-name.ly: show Pango fonts for
font-name. Update example.
2005-04-13 Han-Wen Nienhuys <hanwen@xs4all.nl>
+ * Documentation/user/changing-defaults.itely (Font selection):
+ document font-name.
+
* input/regression/font-name.ly: show Pango fonts for
font-name. Update example.
\override Staff.TimeSignature #'font-size = #2
\time 3/4
c'1_\markup {
- \override #'(font-name . "Utopia Bold")
- { This text is in Utopia Bold }
+ \override #'(font-name . "Vera Bold")
+ { This text is in Vera Bold }
}
}
@end lilypond
The size of the font may be set with the @code{font-size}
property. The resulting size is taken relative to the
-@code{text-font-size} as defined in the @code{\layout} block.
+@code{text-font-size} as defined in the @code{\paper} block.
@cindex font size
@cindex page size
@cindex @code{papersize}
-To change the paper size, there are two equal commands,
+To change the paper size, there are two commands,
@example
#(set-default-paper-size "a4")
\paper @{
\override Staff.TimeSignature #'font-name = #"Times"
\time 3/4
\set Score.skipBars = ##t
-
- % use font-name putri8r for Utopia Italic :
-
\override Staff.MultiMeasureRestText #'font-name = #"LuxiMono"
R1*21^"Rest in LuxiMono"
c'1_\markup {
- \override #'(font-name . "Utopia Bold")
+ \override #'(font-name . "Vera Bold")
\override #'(font-size . 4)
- { This text is in large Utopia Bold }
+ { This text is in large Vera Bold }
}
}