Open uliska opened 6 years ago
About supporting openLilyLib, a good approach IMHO would be like in commit 0833f78a1e484a5f5807b665643b30f59bc97d05: load needed functionality on-demand when needed, and send back an error message if it isn't available.
This is explicitly not for the upcoming release.
It would be nice to be able to pass a notation font to LilyPond (which is possible since LilyPond 2.19.12). Of course it's the user's responsibility to have that font properly installed.
One possible issue to consider is that (currently) notation fonts can only be set together with the text fonts, i.e. there can only be one invocation that sets both text and notation fonts. This basically means that an option
notation-font
will only work together withpass-fonts
.An alternative approach would be to use the
notation-fonts
openLilyLib package. While this would obviously add OLL as a dependency the nice thing is thatnotation-fonts
implicitly loads style-sheets that are fine-tuned to the different notation fonts. (openLilyLib could open up quite a range of further options, and it could be discussed at some point if it would be worth supporting it.)