You may want to make your own config file that contains <cachedir> which points to the place you are comfortable with, and override the default config with the FONTCONFIG_FILE environment variable. On Sat, Aug 12, 2023 at 11:21 PM Andreas Falkenhahn <andreas@xxxxxxxxxxxxxx> wrote: > > On 10.08.2023 at 19:54 Jean Abou Samra wrote: > > > Nope, you can use pango_fc_font_map_set_config. That's how we do it in LilyPond. > > Hmmm... but I don't use the PangoFcFontMap interface. I use pango_cairo_font_map_new() > to create a PangoFontMap and AFAIU I'm not allowed to call pango_fc_font_map_set_config() > on a PangoCairoFontMap, am I? > > -- > Best regards, > Andreas Falkenhahn mailto:andreas@xxxxxxxxxxxxxx > -- Akira TAGOH