FcConfigFileGenerate(3) FcConfigFileGenerate(3)

FcConfigFileGenerate - Generate a configuration for fonts at the given font path

#include <fontconfig/fontconfig.h>

FcChar8 * FcConfigFileGenerate (FcConfig *config, FcPattern *pat, const FcChar8 *font_path);

Generate a configuration in XML format for fonts at the given font_path. pat pattern to correct and filter font metadata. The supported parameter is `family', `genericfamily', and `lang' at this moment.

version 2.18.0

02 June 2026 Fontconfig 2.18.1