FcConfigAcceptFilename(3) FcConfigAcceptFilename(3)

FcConfigAcceptFilename - Test whether the given filename matches deny list

#include <fontconfig/fontconfig.h>

FcBool FcConfigAcceptFilename (FcConfig *config, const FcChar8 *filename);

fontconfig has the deny list which is built against <rejectfont> directive in configuration file. This function tries to match 'filename' with them and return FcFalse if 'filename' is rejected, otherwise FcTrue.

version 2.18.2

10 July 2026 Fontconfig 2.18.2