FcConfigSetFontSetFilter(3)

FcConfigSetFontSetFilter3

Set a predicate function to filter fontsets

Usage

#include <fontconfig/fontconfig.h>

FcConfig * FcConfigSetFontSetFilter (FcConfig *config, FcFilterFontSetFunc filter_func, FcDestroyFunc destroy_data_func, void *user_data);

Overview

Sets filter_func as a predicate function and filter out fontsets in config as desired. filter_func will be called with a font pattern and user_data only when loading caches. When config is going to be destroyed, user_data will be destroyed through destroy_data_func if it is set.

Since

version 2.16.0

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