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_______________________________________________
lilypond-user mailing list
[email protected]
https://lists.gnu.org/mailman/listinfo/lilypond-user