On Fri, Jun 17, 2022 at 2:11 PM Dan Eble <dan@lyric.works> wrote: > > I have a regression test that should fail if a BarLine grob is created. It > is sufficient to override BarLine.glyph-name to make it obvious in the visual > diff. > > Is there a simpler, more direct, or more robust way to test this?
You could add a callback in the System grob (or in a similar grouping Grob at staff level) that counts the number of bar lines included in the 'elements property. -- Han-Wen Nienhuys - hanw...@gmail.com - http://www.xs4all.nl/~hanwen