Sponsor:

Your company here, and a link to your site. Click to find out more.

FcConfigAppFontAddDir - Man Page

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.

Info

22 12꜈ 2023 Fontconfig 2.15.0