CVSROOT:        /cvsroot/lilypond
Module name:    lilypond
Branch:         
Changes by:     Han-Wen Nienhuys <[EMAIL PROTECTED]>    05/08/01 11:31:10

Modified files:
        .              : ChangeLog 
        Documentation/user: advanced-notation.itely 
        lily           : forbid-break-engraver.cc 

Log message:
        (Font selection): add
        doco for make-pango-font-tree.

CVSWeb URLs:
http://savannah.gnu.org/cgi-bin/viewcvs/lilypond/lilypond/ChangeLog.diff?tr1=1.3938&tr2=1.3939&r1=text&r2=text
http://savannah.gnu.org/cgi-bin/viewcvs/lilypond/lilypond/Documentation/user/advanced-notation.itely.diff?tr1=1.43&tr2=1.44&r1=text&r2=text
http://savannah.gnu.org/cgi-bin/viewcvs/lilypond/lilypond/lily/forbid-break-engraver.cc.diff?tr1=1.23&tr2=1.24&r1=text&r2=text

Patches:
Index: lilypond/ChangeLog
diff -u lilypond/ChangeLog:1.3938 lilypond/ChangeLog:1.3939
--- lilypond/ChangeLog:1.3938   Mon Aug  1 04:19:43 2005
+++ lilypond/ChangeLog  Mon Aug  1 11:31:09 2005
@@ -1,3 +1,8 @@
+2005-08-01  Han-Wen Nienhuys  <[EMAIL PROTECTED]>
+
+       * Documentation/user/advanced-notation.itely (Font selection): add
+       doco for make-pango-font-tree.
+
 2005-07-31  Graham Percival  <[EMAIL PROTECTED]>
 
        * Documentation/user/music-glossary: more languages
Index: lilypond/Documentation/user/advanced-notation.itely
diff -u lilypond/Documentation/user/advanced-notation.itely:1.43 
lilypond/Documentation/user/advanced-notation.itely:1.44
--- lilypond/Documentation/user/advanced-notation.itely:1.43    Tue Jul 19 
12:57:32 2005
+++ lilypond/Documentation/user/advanced-notation.itely Mon Aug  1 11:31:09 2005
@@ -454,11 +454,37 @@
 @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,
+
[EMAIL PROTECTED] font families, setting
[EMAIL PROTECTED] Pango
+
+
[EMAIL PROTECTED]
+\paper  {
+  myStaffSize = #20
+  
+  #(define fonts
+    (make-pango-font-tree "Times New Roman"
+                          "Helvetica"
+                          "Courier"
+                           (/ myStaffSize 20)))
+}
+
+{
+  c'^\markup { roman: foo \sans bla \typewriter bar }
+}
[EMAIL PROTECTED] lilypond
+
+
 @seealso
 
[EMAIL PROTECTED] 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
Index: lilypond/lily/forbid-break-engraver.cc
diff -u lilypond/lily/forbid-break-engraver.cc:1.23 
lilypond/lily/forbid-break-engraver.cc:1.24
--- lilypond/lily/forbid-break-engraver.cc:1.23 Sun Jul 24 18:58:42 2005
+++ lilypond/lily/forbid-break-engraver.cc      Mon Aug  1 11:31:09 2005
@@ -51,7 +51,8 @@
 
 
 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",


_______________________________________________
Lilypond-cvs mailing list
Lilypond-cvs@gnu.org
http://lists.gnu.org/mailman/listinfo/lilypond-cvs

Reply via email to