[Fontconfig] Help with using Fontconfig on Cygwin: "Cannot load default config file"

Akira TAGOH akira at tagoh.org
Mon Apr 18 09:23:59 UTC 2022

How did you build fontconfig? The installation path depends on it. you
may want to install fonts.conf at the place where you specified
directly or indirectly. you can try to install fonts.conf by "make
install fonts.conf" or "meson install" if you use meson - not yet
fully implemented meson support. no install_tags for that yet, but
Or you can copy a file too. check BASECONFIGDIR in Makefile.

Hope this helps,

On Mon, Apr 18, 2022 at 9:27 AM John Scott <jscott at posteo.net> wrote:
> Hi,
> I'm struggling to use Cygwin to port my tiny application over to
> Windows. It uses Poppler. I've built it and bundled it with copies of
> the shared libraries, but at execution time I get
> Fontconfig error: Cannot load default config file
> some font thing failed
> some font thing failed
> some font thing failed
> ...
> It appears that Fontconfig requires a configuration file and can't do
> without one. Before I go trying to handcraft a configuration file or
> playing with environment variables, perhaps I'm not grasping the
> intended way this is supposed to work. The documentation seems very
> UNIX-centric, and I would like guidance on how I can port my
> application.
> Thanks,
> John


More information about the Fontconfig mailing list