www.LinuxHowtos.org
FcConfigAppFontAddDir
Section: (3)Updated: 05 8月 2016
Index Return to Main Contents
NAME
FcConfigAppFontAddDir - Add fonts from directory to font databaseSYNOPSIS
#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.