craigsapp / website-polish-scores

Front-end for digital transcriptions of the Polish Music Heritage in Open Access project
https://polishscores.org
3 stars 1 forks source link

Use narrow elision by default in lyric text #273

Closed craigsapp closed 4 months ago

craigsapp commented 4 months ago

Use the --lyric-elision narrow option always. This makes the elision character for connecting syllables for one note narrow (back to default before, when VerovioText font was being used).

Example:

https://verovio.humdrum.org/?file=https:%2F%2Fhumdrum.nifc.pl%2Fpl-wtm--r-248-n--002.krn

Screenshot 2024-02-10 at 21 11 15

Adding

!!!verovio: lyricElision narrow

To the score in VHV:

(second line in text editor):

Screenshot 2024-02-10 at 21 12 42

Verovio parameters can be passed to VHV via the v URL parameter:

https://verovio.humdrum.org/?file=https:%2F%2Fhumdrum.nifc.pl%2Fpl-wtm--r-248-n--002.krn&v=lyricElision%20narrow

Screenshot 2024-02-10 at 21 15 30

This could be used with the verovio-based notation configuration options to produce identical view on POPC2 ahd VHV websites.

craigsapp commented 4 months ago

Implemented in commit https://github.com/craigsapp/website-polish-scores/commit/d6071e75053f1d44a8e27f78fd4ddf597ac1dc8a

Example:

https://polishscores.org/?id=pl-wtm--r-248-n--002

Screenshot 2024-02-10 at 23 53 30