humdrum-tools / verovio-humdrum-viewer

Verovio Humdrum Viewer
http://verovio.humdrum.org
36 stars 9 forks source link

Covert *clefGv2 to *clefC4 in **mens rendering #855

Closed craigsapp closed 9 months ago

craigsapp commented 9 months ago

*clefGv2 is not a mensural clef, so convert to *clefC4 when trying to render with verovio.

Example:

https://verovio.humdrum.org/?file=jrp/Jos/Jos2721-La_Bernardina.krn&filter=kern2mens%20

Screenshot 2023-10-02 at 17 41 22

Currently showing as treble clef without the 8 underneath it.

Target rendering:

Screenshot 2023-10-02 at 17 41 59
craigsapp commented 9 months ago

Implemented with commit https://github.com/rism-digital/verovio/commit/ef1868d7c4720a2538dff6cdc99fbb4716074017

Example:

**mens
*clefGv2
*met(C|)
=
Sc
=
Sc
=
*-

Now renders as:

Screenshot 2023-10-02 at 18 09 10