bug-lilypond
[Top][All Lists]
Advanced

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

Re: Double bar not at end of staff with scaled joined staves in 2.24.1 a


From: Xavier Scheuer
Subject: Re: Double bar not at end of staff with scaled joined staves in 2.24.1 and higher
Date: Sun, 23 Jul 2023 20:39:57 +0200

On Sun, 23 Jul 2023 at 19:28, Heiko Schill <hschill@gmail.com> wrote:
>
> Hi all,
>
> when compiling the attached snippet, the double bar in the first (scaled)
> staff of two joined staffs is not at the end of the line but shifted a
> little to the left. The smaller the scale factor is, the further to the
> left the double bar ends up. This happens with lilypond 2.24.1 and higher
> (also tested with 2.25.5), but the snippet compiles correctly with
2.22.1...

Hello,

Please read the section "Known issues and warnings" of NR 4.2.2 Setting the
staff size
https://lilypond.org/doc/v2.24/Documentation/notation/setting-the-staff-size

Use
#(define bar-line-props '((BarLine thick-thickness) (BarLine
hair-thickness) (BarLine kern)))
and
#(revert-props 'magnifyStaff 0 bar-line-props)

This is the main reason why I do not use \magnifyStaff but still rely on
fontSize and \override StaffSymbol.staff-space = #(magstep #-x)

Cheers,
Xavier

-- 
Xavier Scheuer <x.scheuer@gmail.com>


reply via email to

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