> There is something I do not like about the fret diagrams in > Lilypond: > > The diagrams are "open" on the side pointing towards the bridge of > the instrument, with the strings "sticking out" on that side. How > could I achieve closed rectangles in Lilypond like e.g. the > "MusFrets" font does? > > https://www.notationcentral.com/product/musfrets/ > > It is simply about a line drawn at the bottom (in the default > direction) of the fret diagram, but I do not know enough scheme to > do it.
This sounds like a reasonable request, please file an issue at https://gitlab.com/lilypond/lilypond/-/issues/ together with some images. > It would be great if someone could show how to do that and that > might as well be an option that could become standard in a future > version. The complete fret diagram code is in Scheme file `scm/fret-diagrams.com`. Werner