[Top][All Lists]

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

Re: Barline doesn't whiteout stave lines sometimes

From: Jean Abou Samra
Subject: Re: Barline doesn't whiteout stave lines sometimes
Date: Sat, 10 Jun 2023 14:44:17 +0200
User-agent: Evolution 3.48.1 (3.48.1-1.fc38)

Le jeudi 08 juin 2023 à 22:14 -0400, William Rehwinkel via bug-lilypond a écrit 

> Dear list,
> In the following example, the stave lines overlap the barlines at the 
> end of the bottom two staves (the expected behavior would have been for 
> the stave lines to be interrupted by the bar lines like the others).

I don't think it's a bug.

By default, StaffSymbol and BarLine have the same layer value (see 
 and [BarLine](https://lilypond.org/doc/v2.25/Documentation/internals/barline) 
in the Internals Reference), so the order in which they are drawn is arbitrary. 
Of course, you could argue that the order should always be well-defined. That 
would require giving a layer to every single grob, which would not necessarily 
scale (are you prepared to make a decision on what the layer of each of the 163 
grob types should be?).

IMHO, if you have an order that you want to be followed, you should just set 
the layer yourself, as in

   \layout {
     \context {
       \override BarLine.color = #red
       \override BarLine.layer = 1

Attachment: signature.asc
Description: This is a digitally signed message part

reply via email to

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