|
From: | Kevin Barry |
Subject: | Re: staffSize music function unreliable at LP v2.19.16 |
Date: | Tue, 3 Mar 2015 16:34:29 +0000 |
I can confirm the problem on windows. Using a greater range of notes produces some "interesting" output...
--
Phil Holmes----- Original Message -----From: Pierre Perol-SchneiderTo: James WorltonCc: Cynthia Karl ; lilypond-userSent: Tuesday, March 03, 2015 3:26 PMSubject: Re: staffSize music function unreliable at LP v2.19.16PierreCheers,Here's a compilable code:LP 2.19.16Frescobaldi 2.13No problem on my side (see attached).OS : Ubuntu 14.10
\version "2.19.16"
staffSize = #(define-music-function (parser location new-size)
(number?)
#{
\set fontSize = #new-size
\override StaffSymbol.staff-space = #(magstep new-size)
\override StaffSymbol.thickness = #(magstep new-size)
#})
Ab = \relative c' { f4 g a b }
\score {
\new Staff \with { \staffSize #2 } { \Ab }
\layout { }
}
2015-03-03 16:19 GMT+01:00 James Worlton <address@hidden>:
On Tue, Mar 3, 2015 at 8:37 AM, Cynthia Karl <address@hidden> wrote:
The following snippet:\version "2.19.15"
staffSize = #(define-music-function (parser location new-size) (number?)
#{
\set fontSize = #new-size
\override StaffSymbol #'staff-space = #(magstep new-size)
\override StaffSymbol #'thickness = #(magstep new-size)
#})
Ab = \relative c' { f4 g a b }
\score {
\new Staff \with { \staffSize #2 { \Ab }
\layout { }
}produces at LP v2.19.15:but at LP v2.19.16 produces:Besides being wrong (see, e.g., "Behind Bars" by Elaine Gould, p.13), this causes many scores to require an additional page.Applying convert-ly to the above snippet changes only the \version number.I tried all values for new-size between -8 and +8; the only ones that failed were -4 and 2.(The staffSize music-function was kindly contributed by Eluze in 2013 on this list to overcome limitations of layout-set-staff-size.)I have been able to reproduce the problem on Windows 7 with Frescobaldi 2.17.2.Additionally I found that sizes of 2.1, 1.4, 1.1, 0.7, 0.5, -0.2, -0.3, -0.6, -1.3, -1.4, -2.1 also created the down stem on the F. (I only tested 2.1 to -2.1).James Worlton
_______________________________________________
lilypond-user mailing list
address@hidden
https://lists.gnu.org/mailman/listinfo/lilypond-user
_______________________________________________
lilypond-user mailing list
address@hidden
https://lists.gnu.org/mailman/listinfo/lilypond-user
_______________________________________________
lilypond-user mailing list
address@hidden
https://lists.gnu.org/mailman/listinfo/lilypond-user
[Prev in Thread] | Current Thread | [Next in Thread] |