FcConfigFileGenerate(3)

FcConfigFileGenerate3

Generate a configuration for fonts at the given font path

Usage

#include <fontconfig/fontconfig.h>

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

Overview

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.

Since

version 2.18.0

From fontconfig 2:2.18.3-2 in Arch Linux 2026-11-01. Parsed by carta from the page's man source.