FcConfigAcceptFont(3) FcConfigAcceptFont(3)

FcConfigAcceptFont - Test whether the given pattern matches deny list

#include <fontconfig/fontconfig.h>

FcBool FcConfigAcceptFont (FcConfig *config, FcPattern *pat);

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

version 2.15.1

19 January 2025 Fontconfig 2.16.0