>> Masamichi-san, can you advise a solution? Would it be possible and >> would make it sense to add a directory specifier to >> `00-lilypond-fonts.conf`? > > I didn't find a way to do it in the configuration file directly, > [...]
What about adding ``` <dir>.../lilypond/XX.YY.ZZ/fonts/otf</dir> ``` at the top of `00-lilypond-fonts.conf`? According to the maintainer of FontConfig, first directory gets served first, and the `00-*` file is read before anything else. > but using this: > > https://docs.gtk.org/PangoFc/method.FontMap.set_config.html > > it should be possible to use two FcConfig-s instead of just > font_config_global, adding a variant of font_config_global that > doesn't have paths outside of the LilyPond datadir. > > (I didn't actually try yet.) This sounds reasonable, too. Werner