[Fontconfig] PATH of fontconfig configration file in static build on Windows

Tatsuro MATSUOKA tmacchant at yahoo.co.jp
Sat Feb 13 05:53:52 UTC 2016


I have tried static build fontconfig.

Fontconfig version : 2.11.1
OS: Windows 7 64 bit
Build system :  MinGW-w64 32 bit build tool.
Link: All dependencies statically are built.

Problem
Execute fc-list at <install-dir>/bin error occurred with a message

Fontconfig error: Cannot load default config file



Additional comments.
If FONTCONFIG_PATH is set, fc-list works.

If fontconfig is dynamically linked, fc-list seems to refer
<install-dir>/etc/fonts/fonts.conf

and works without FONTCONFIG_PATH setting.

Query:
Is there way to refer <install-dir>/etc/fonts/fonts.conf in static linked
fontconfig application?

Thanks in advance.

Tatsuro



More information about the Fontconfig mailing list