lilypond-user
[Top][All Lists]
Advanced

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

Re: 2.17 example for changing entire document fonts swells noteheadsand


From: Trevor Daniels
Subject: Re: 2.17 example for changing entire document fonts swells noteheadsand other elements
Date: Mon, 14 Jan 2013 12:17:41 -0000

Nick Payne wrote Monday, January 14, 2013 7:46 AM


> If I use the define fonts example in the documentation at 
> http://lilypond.org/doc/v2.17/Documentation/notation/fonts#entire-document-fonts
>  
> to change the document fonts, the noteheads swell so that they no longer 
> fit between the staff lines. Have a look at the PDF output for the 
> example below at magnification. The noteheads overlap the staff lines. 
> Other notational elements are affected as well - the loop of the treble 
> clef no longer sits on the bottom staff line but goes below it, and the 
> time signature no longer fits between staff lines. Without the define 
> fonts in the paper block, all these elements are the correct size. I 
> tried a few different fonts for the serif, sans, and monospaced 
> typefaces, and the behaviour was the same for all. If I use the example 
> from the 2.16 docs for changing document fonts, i.e.
> 
> \paper  {
>   myStaffSize = #20
>   #(define fonts
>     (make-pango-font-tree "Times New Roman"
>       "Nimbus Sans"
>       "Luxi Mono"
>       (/ myStaffSize 20)))
> }
> 
> then the problem doesn't happen.
> 
> %===================
> \version "2.17.10"
> 
> \paper {
>   #(define fonts
>     (make-pango-font-tree "Times New Roman"
>       "Nimbus Sans"
>       "Luxi Mono"
>       (/ (* staff-height pt) 2)))
> }
> 
> \relative c'{
>     c d e f g a b c
> }
> %===================
>

You're right Nick.  Looks like my 'fix' is not acceptable.  I'll
investigate further.

Bug Squad: could you please raise a new issue for this.

Trevor

reply via email to

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