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

Jean Abou Samra jean at abou-samra.fr
Thu Aug 10 17:54:18 UTC 2023

Le jeudi 10 août 2023 à 19:14 +0200, Andreas Falkenhahn a écrit :
> The problem is that I can't really use any fontconfig APIs because I'm not
> using
> fontconfig directly but I use fontconfig as part of Pango (also from the MSYS2
> package) so the only way to modify its behaviour is using environment
> variables

Nope, you can use pango_fc_font_map_set_config. That's how we do it in LilyPond.

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.freedesktop.org/archives/fontconfig/attachments/20230810/9bd75b3e/attachment.htm>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 228 bytes
Desc: This is a digitally signed message part
URL: <https://lists.freedesktop.org/archives/fontconfig/attachments/20230810/9bd75b3e/attachment.sig>

More information about the Fontconfig mailing list