FcConfigAcceptFilename(3)

FcConfigAcceptFilename3

Test whether the given filename matches deny list

Usage

#include <fontconfig/fontconfig.h>

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

Overview

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.

Since

version 2.18.2

From fontconfig 2:2.18.3-2 in Arch Linux 2026-11-01. Parsed by carta from the page's man source.