Hi,

for some function I need to know the extent/length of the AccidentalPlacement.

With 2.16.2 I used to do something like:

info =
\override Staff.AccidentalPlacement #'after-line-breaking =
 #(lambda (grob)
   (display (interval-length (ly:grob-extent grob grob X)))
   (newline))

\relative c' {
    \info
    <c d>
    <cis d>1
    <cis dis>
    <cis dis eis>
    <cis dis eis fis>
    <cis dis eis fis gis>
}

and got different values.

With 2.18.0 and 2.19.1 it always returns the same: 1.1
Looks like a bug to me.
How to do it different?

Cheers,
  Harm

_______________________________________________
lilypond-user mailing list
lilypond-user@gnu.org
https://lists.gnu.org/mailman/listinfo/lilypond-user

Reply via email to