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

Xavier Scheuer <[email protected]>
Newsgroups gmane.comp.gnu.lilypond.bugs
Message-ID <CADGqHReFBa4zGvoKo_JX+4njs5sJiLPHBYWdCiwiKzJYOhA16g@mail.gmail.com>
On Sun, 23 Jul 2023 at 19:28, Heiko Schill <[email protected]> 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 <[email protected]>
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.