fix #24349: issues with fretboard diagram

One open issue remains: making the font size a configurable style setting