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 anyway. 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@xxxxxxxxxx> 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 -- Akira TAGOH