Provided by: libfontconfig-doc_2.15.0-2.3ubuntu1_all bug

NAME

       FcConfigAppFontAddDir - Add fonts from directory to font database

SYNOPSIS

       #include <fontconfig/fontconfig.h>

       FcBool FcConfigAppFontAddDir (FcConfig *config, const FcChar8 *dir);

DESCRIPTION

       Scans  the specified directory for fonts, adding each one found to the application-specific set of fonts.
       Returns FcFalse if the fonts cannot be added (due to allocation failure).  Otherwise returns  FcTrue.  If
       config is NULL, the current configuration is used.

Fontconfig 2.15.0                                 04 July 2025                          FcConfigAppFontAddDir(3)