fix #24349: issues with fretboard diagram

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