Closed craigsapp closed 1 year ago
Implemented in commit https://github.com/rism-digital/verovio/commit/da7018379b3384d50ff44f83f09f7e2277c31be7
Above example now renders as desired:
**kern **fing
*M4/4 *
=1 =1
!!LO:TX:t=legato:i
8fL 1
8g 2
8a 3
8bJ 4
= =
*- *-
Example of currently available stylings:
**kern **fing
=1 =1
4c 1
4d 2
* *fs:small
!!LO:TX:b:vg=1:fs=xsmall:t=small
2e 3
* *fs:large
!!LO:TX:b:vg=1:t=large
2f 4
* *fs:normal
!!LO:TX:b:vg=1:t=normal
=2 =2
* *below
!!LO:TX:a:t=below
4c 1
4d 2
* *Xbold
!!LO:TX:a:t=Xbold
2e 3
2f 4
=3 =3
* *above
* *italic
* *color:orange
!!LO:TX:b:vg=2:t=above
!!LO:TX:b:t=italic
!!LO:TX:b:t=orange
4c 1
4d 2
* *bold
!!LO:TX:b:vg=2:t=bold
2e 3
2f 4
=4 =4
* *Xitalic
* *color:crimson
!!LO:TX:b:vg=3:t=red
!!LO:TX:b:t=Xitalic
4c 4e 1 3
4d 4f 2 4
* *color:royalblue
!!LO:TX:b:vg=3:t=blue
4e 4g 1 3
4f 4a 2 4
== ==
*- *-
Add circles and boxes around fingerings in the future. Add stylings to separate fingering in chords in the future.
Example:
Currently the fingerings are translated into
<dir>
(free-form text elements) in the MEI conversion. This causes them to have equivalent priority to text, and the result in the above is the fingerings above the text. Converting the fingerings to<fing>
instead will produce the correct stacking order.Current conversion to MEI
```xmlTranscoded from Humdrum
Example fingering:
This should be converted to:
Resulting rendering (only fingering "1"):
The
<fing>
element has a higher stacking priority so now displays as desired below the<dir>
text.The
<fing>
is bolder, which is nice. The default size for fingerings are tool large, so the fingerings should be rended in@fontsize="small
(previouslyx-small
which results in the new size being the same as the original).Probably allow fontsize control for the
**fing
spine:*fs:small
@fontsize="x-small"
*fs:100%
and/or*fs:normal
@fontsize="small"
*fs:large
@fontsize="normal"
@fontstyle="normal"
is the default rendering style for fonts in<fing>
, so removerend@fontstyle
.Also remove
type="fingering"
since the element has changed from<dir>
to<fing>
and is no longer necessary for identifying the function of the text.