bug-lilypond
[Top][All Lists]
Advanced

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

Re: Changing fonts with global staff size other than 20 leads to scaling


From: Colin Hall
Subject: Re: Changing fonts with global staff size other than 20 leads to scaling problems
Date: Sun, 16 Dec 2012 08:32:12 +0000
User-agent: Mutt/1.5.21 (2010-09-15)

On Fri, Dec 14, 2012 at 10:45:50AM +0100, Arle Lommel wrote:
> (Lilypond 2.16.1)
> 
> http://lilypond.org/doc/v2.16/Documentation/notation/fonts contains 
> instructions on how to change default document fonts. The instructions 
> require hard coding a staff size of some sort. However, if the global staff 
> size is set to a value other than 20, the scaling of note heads and other 
> objects is wrong.
> 
> \paper {
>       myStaffSize = #20
>       #(define fonts
>       (make-pango-font-tree "Minion Pro"
>               "Minion Pro"
>               "Minion Pro"
>               (/ myStaffSize 20)
>       ))
> }
> 
> It appears that if myStaffSize = #xx is set so that xx = the global staff 
> size, but the value 20 in (/ myStaffSize 20) is left alone, then display 
> works as expected.

Thanks, Arle, I've created a tracker for this:

http://code.google.com/p/lilypond/issues/detail?id=3027

Cheers,
Colin.

-- 

Colin Hall



reply via email to

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