[Fontconfig] Is there a way to set the cache directory using environment variables?

Akira TAGOH akira at tagoh.org
Mon Aug 14 02:52:16 UTC 2023

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 at falkenhahn.com> 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 at falkenhahn.com


More information about the Fontconfig mailing list