.\" This manpage has been automatically generated by docbook2man
.\" from a DocBook document. This tool can be found at:
.\"
.\" Please send any bug reports, improvements, comments, patches,
.\" etc. to Steve Cheng .
.TH "FcConfigSetFontSetFilter" "3" "23 January 2025" "Fontconfig 2.16.0" ""
.SH NAME
FcConfigSetFontSetFilter \- Set a predicate function to filter fontsets
.SH SYNOPSIS
.sp
\fB#include
.sp
FcConfig * FcConfigSetFontSetFilter (FcConfig *\fIconfig\fB, FcFilterFontSetFunc \fIfilter_func\fB, FcDestroyFunc \fIdestroy_data_func\fB, void *\fIuser_data\fB);
\fR
.SH "DESCRIPTION"
.PP
Sets \fIfilter_func\fR as a predicate function and filter out
fontsets in \fIconfig\fR as desired.
\fIfilter_func\fR will be called with a font pattern and
\fIuser_data\fR only when loading caches.
When \fIconfig\fR is going to be destroyed,
\fIuser_data\fR will be destroyed through
\fIdestroy_data_func\fR if it is set.
.SH "SINCE"
.PP
version 2.16.0