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