+2005-08-01 Han-Wen Nienhuys <hanwen@xs4all.nl>
+
+ * Documentation/user/advanced-notation.itely (Font selection): add
+ doco for make-pango-font-tree.
+
2005-07-31 Graham Percival <gperlist@shaw.ca>
* Documentation/user/music-glossary: more languages
@cindex font size
@cindex font magnification
+
+It is also possible to change the default font family for the entire
+document. This is done by calling the @code{make-pango-font-tree} from
+within the @code{\paper} block. The function takes names for the font
+families to use for roman, sans serif and monospaced text. For
+example,
+
+@cindex font families, setting
+@cindex Pango
+
+
+@lilypond[verbatim]
+\paper {
+ myStaffSize = #20
+
+ #(define fonts
+ (make-pango-font-tree "Times New Roman"
+ "Helvetica"
+ "Courier"
+ (/ myStaffSize 20)))
+}
+
+{
+ c'^\markup { roman: foo \sans bla \typewriter bar }
+}
+@end lilypond
+
+
@seealso
-@c FIXME.
-Init files: @file{ly/@/declarations@/-init@/.ly} contains hints how new
-fonts may be added to LilyPond.
+Examples: @file{ly/@/font@/-family@/-override.ly}
@node New dynamic marks
ADD_TRANSLATOR (Forbid_line_break_engraver,
- /* descr */ "Forbid line breaks when note heads are still playing at some point.",
+ /* descr */ "Forbid line breaks when note heads "
+ "are still playing at some point.",
/* creats*/ "",
/* accepts */ "",
/* reads */ "busyGrobs",