lilypond-user
[Top][All Lists]
Advanced

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

Re: staffSize music function unreliable at LP v2.19.16


From: Thomas Morley
Subject: Re: staffSize music function unreliable at LP v2.19.16
Date: Tue, 3 Mar 2015 21:59:42 +0100



2015-03-03 17:34 GMT+01:00 Kevin Barry <address@hidden>:
The problem also exists on OSX (10.9.5) with 2.19.16.

2.18.2 still does it correctly.

I will test my linux machine later.

I'd say this constitutes a regression? The staffSize function doesn't seem to do anything fancy or unusual.

On Tue, Mar 3, 2015 at 3:47 PM, Phil Holmes <address@hidden> wrote:
I can confirm the problem on windows.  Using a greater range of notes produces some "interesting" output...

--
Phil Holmes

Can't confirm on my Linux-machine.

I tried to write some test-function, though.
It puts out a StaffGroup with 81 Staves with different sizes on a huge paper.
View with zoom. ;)

Can someone on windows/OSX confirm buggy output at certain sizes?


\version "2.19.16"

#(set-default-paper-size "b0")

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)
#})

mus = \relative c' { f4 g a b  }

\new StaffGroup <<
  $@(map
     (lambda (size nmbr)
       #{
     \new Staff
     \with {
          instrumentName =
          \markup
            \abs-fontsize #10
            #(format #f "Staff Nr. ~a, with staffSize: ~a" nmbr size)
          \staffSize $size
     }
     \mus
       #})
     (iota 81 4 -0.1)
     (iota 81 1))
>>


Cheers,
  Harm

reply via email to

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