FcConfigSetFontSetFilter(3)
π NAME π
ok so bestie, meet FcConfigSetFontSetFilter β she sets a predicate function to filter fontsets β¨
πΈ SYNOPSIS πΈ
#include <fontconfig/fontconfig.h>
FcConfig * FcConfigSetFontSetFilter (FcConfig *config, FcFilterFontSetFunc filter_func, FcDestroyFunc destroy_data_func, void *user_data);
π¦ DESCRIPTION π¦
So basically this one sets filter_func as a predicate function and filters out fontsets in config however you want, no cap π
It's giving very specific energy with the call timing, so listen up: filter_func gets called with a font pattern and user_data only when loading caches β like, that's the only time, periodt π
And when config is about to get destroyed (rip π), user_data gets destroyed through destroy_data_func β but only if it's set, iykyk. If it's not set, nothing happens there, fr fr.
π SINCE π
version 2.16.0 β she's been around a minute, icon behavior β
ok that's the whole page bestie, go forth and filter those fontsets π§ββοΈπ
mwah π β brought to you by Fontconfig 2.17.0, dated 27 June 2025 (the FcConfigSetFontSetFilter(3) girlies stay winning π₯)
π¦ where this page comes from
- fedora 43: fontconfig-devel 2.17.0-3.fc43 Β· HPND AND LicenseRef-Fedora-Public-Domain AND Unicode-DFS-2016
- fedora 43: fontconfig-devel 2.17.0-3.fc43 Β· HPND AND LicenseRef-Fedora-Public-Domain AND Unicode-DFS-2016
- fedora 44: fontconfig-devel 2.17.0-4.fc44 Β· HPND AND LicenseRef-Fedora-Public-Domain AND Unicode-DFS-2016
- fedora 44: fontconfig-devel 2.17.0-4.fc44 Β· HPND AND LicenseRef-Fedora-Public-Domain AND Unicode-DFS-2016
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash-1017 on : a language model's rewrite of the original, under its terms