On Wed, 12 Apr 2023 08:33:08 +0200, Jean Abou Samra wrote: > FcConfigParseAndLoad(NULL, (FcChar8 *) "your-config-file.conf", > FcTrue); ``` > > or > > ``` > FcConfigParseAndLoadFromMemory(NULL, (FcChar8 *) "<the string of > Fontconfig XML code that you would put in a file>", FcTrue); ``` Unfortunately, if these calls detect something wrong with the configuration they read, they only print messages to stderr, without returning any indication of what went wrong.