openlilylib / snippets

A place to store useful pieces of LilyPond code - custom functions, engravers, hacks, templates, examples etc.
Other
120 stars 38 forks source link

stylesheets: Determine installed fonts and existing stylesheets #103

Closed uliska closed 9 years ago

uliska commented 9 years ago

When one sets the notation font to a non-existent value this would later result in a "font not found" error, which is rather inconvenient.

It would be better to let \useNotationFont look into the font directories and check if the font is present, and give a more meaningful warning when not (and resetting to default Emmentaler).

A similar thing is with stylesheets. choosing a name for which no style is present results in ugly file-not-found errors currently. Instead we should have a warning and a fallback.

uliska commented 9 years ago

Oh, this has been fixed for some time already.