lilypond-user
[Top][All Lists]
Advanced

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

Re: Likely bug in 2.16.1: Changing docu ment fonts messes lots of things


From: Arle Lommel
Subject: Re: Likely bug in 2.16.1: Changing docu ment fonts messes lots of things up…
Date: Fri, 14 Dec 2012 10:54:27 +0100

Hi all,

I've finally figured the workaround for this issue. I think this should be contributed to the documentation until a better (i.e., scale-independent) solution is implemented. The example can stay the same:

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

\relative c'{
  c1-\markup {
    roman,
    \sans sans,
    \typewriter typewriter. }
}

But the following text should be added at the end of the section:

Note that if the global staff size is set to a value other than 20 (the default value), e.g., using #(set-global-staff-size 30), the value of myStaffSize must also be set to match the global staff size or problems with scaling of note heads and other objects will appear. The 20 that appears (/ myStaffSize 20), however, should remain unchanged.

(And I did test what happens if I do not set the global staff size at all and just set myStaffSize. Both MUST be set to the same value or problems arise.)

I am not sure how to contribute to the documentation, or I would do this myself.

Best,

Arle

reply via email to

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