www.LinuxHowtos.org
FcConfigAppFontAddFile
Section: (3)Updated: 06 August 2026
Index Return to Main Contents
NAME
FcConfigAppFontAddFile - Add font file to font databaseSYNOPSIS
#include <fontconfig/fontconfig.h> FcBool FcConfigAppFontAddFile (FcConfig *config, const FcChar8 *file);
DESCRIPTION
Adds an applicatio-specific font to the configuration. Returns FcFalse if the fonts cannot be added (due to allocation failure or no fonts found). Otherwise returns FcTrue. If config is NULL, the current configuration is used.