FcConfigAppFontAddFile - Man Page

Add font file to font database

Synopsis

#include <fontconfig/fontconfig.h>

FcBool FcConfigAppFontAddFile (FcConfig *config, const FcChar8 *file);

Description

Adds an application-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.

Info

22 12꜈ 2023 Fontconfig 2.15.0