Re: Dashed bar lines fail requirements at some sizes

Thomas Morley <[email protected]>
Newsgroups gmane.comp.gnu.lilypond.bugs
Message-ID <CABsfGyWY4Y+vbQuaEo3sdV19nJdy_wyW5avEyYKHrSp_2nhbag@mail.gmail.com>
Hi,

thanks for your report.
Apart from the last point (see below), it's mostly caused by:

commit cff90246a32186f450bab1f8cd415d320b8c0cf2
Author: Thomas Morley <[email protected]>
Date:   Wed Oct 4 16:18:30 2023 +0200

    Dashed bar lines do not stick out

    Give BarLine a little less, SpanBar a little more height.
    As a result they overlap inside of a staff symbol line.

    Closes #6666

Embarrassingly...

I'll take a closer look soon.

Am Di., 20. Feb. 2024 um 20:17 Uhr schrieb Cameron Crowe via
bug-lilypond <[email protected]>:
>
> A few potential bugs to consider. Much appreciation!
>
> % 1. Dashed bar lines fail requirement at some sizes:
> % > The dashes in a dashed bar line covers staff lines exactly. Dashed bar
> % > lines between staves start and end on a half dash precisely.
>
> \version "2.24.3"
> #(set-global-staff-size 10)
>
> % Top missing
> \relative { d' \bar "!" }
>
> % Tiny and centered
> \score {
> \relative { d' \bar "!" }
> \layout { #(layout-set-staff-size 33) }
> }
>
> % 2. Dashed bar line appearance affected by global staff size even
> % when layout staff size fixed. Compare A and B:
>
> % A
> \version "2.24.3"
>
> #(set-global-staff-size 10)\score {
> \relative { d' \bar "!" }
> \layout { #(layout-set-staff-size 33) }
> }
>
> % B
> \version "2.24.3"
>
> \score {
> \relative { d' \bar "!" }
> \layout { #(layout-set-staff-size 33) }}
>

> % 3. Cannot end score with all bar line styles.
>
> \version "2.24.3"
> \relative { d' \bar ":" }
> \relative { d' \bar ".|" }

":" is not a predefined bar-line, i.e no bar-line is printed.
".|" has a #f-setting for line-end, i.e. no bar-line will happen there.
Thus, both are no bugs.

Cheers,
  Harm
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.