lilypond-user
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: font switching help


From: Johan Vromans
Subject: Re: font switching help
Date: 04 Dec 2008 12:08:34 +0100
User-agent: Gnus/5.09 (Gnus v5.9.0) Emacs/21.4

"Neil Puttock" <address@hidden> writes:

> http://lilypond.org/doc/v2.11/Documentation/user/lilypond/Fonts#Single-entry-fonts

While at the subject...

To change the default fonts for a document, the advised code is:

  \paper  {
    myStaffSize = #20
    #(define fonts
      (make-pango-font-tree "Times New Roman"
                            "Nimbus Sans"
                            "Luxi Mono"
                             (/ myStaffSize 20)))
  }

This a) requires an explicit variable setting for the staff size, and
b) suggests the statements must be executed (or re-executed with a
different value of myStaffSize) after a possible staff size selection.

The latter is not true, changing the staff size also scales the fonts.

We have #(set-global-staff-size ...) to designate the desired staff
size, so why is another size specification necessary?

-- Johan




reply via email to

[Prev in Thread] Current Thread [Next in Thread]