> Here's a caveat (but I'm not sure if that relates to the GSoC > project). Some time ago I worked on a modified system to load the > notation font from system installed fonts too, which would > substantially reduce the amount of housekeeping when using > alternative notation fonts. But I got stuck at a well-meant but > nasty behaviour of fontconfig that made it basically impossible: > fontconfig *always* returns a reference to a font. This sounds good > but is a real problem with notation fonts. > > The idea behind that behaviour is that when an application requests > a font it *needs* a font, and when a particular font isn't installed > in the system there has to be a fallback font. The problem is that > with notation fonts it is totally unclear what an appropriate > replacement font is. What I wanted (and what is necessary) would be > the information that a requested font (e.g. LilyJAZZ) isn't > available - then LilyPond could explicitly fall back to Emmentaler. > But instead fontconfig insists on giving back *something*, so when > LilyJAZZ isn't installed you may end up with a score trying to > typeset the noteheads with Comic Sans or Times New Roman.
There is a solution to this problem, cf. https://lists.freedesktop.org/archives/fontconfig/2012-August/004252.html Werner _______________________________________________ lilypond-devel mailing list lilypond-devel@gnu.org https://lists.gnu.org/mailman/listinfo/lilypond-devel