FcFontSetList(3)

πŸ’… FcFontSetList β€” the section 3 girlies know

okay so this is FcFontSetList(3), bestie β€” yes, the (3) is the manual section, we're in library-call territory, welcome πŸŽ€


✨ NAME ✨

FcFontSetList β€” literally lists fonts from a whole set of font sets πŸ‘‘ (yes, sets of font sets, we're going full inception over here)


🌸 SYNOPSIS 🌸

#include <fontconfig/fontconfig.h>

FcFontSet * FcFontSetList (FcConfig *config, FcFontSet **sets, int nsets, FcPattern *pattern, FcObjectSet *object_set);

she's a one-liner but a long one, no cap πŸ’€


πŸ’– DESCRIPTION πŸ’–

so here's the vibe: FcFontSetList selects the fonts that match pattern out of sets β€” that's the nsets of them, iykyk β€” then it creates patterns from those fonts, and those new patterns contain only the objects in object_set (nothing extra, she's minimal like that ✨). then it returns the set of unique such patterns. unique!! no dupes, we don't do dupes here 🫢

and if config is NULL? okay so then the default configuration gets checked to be up to date, and that's the one that gets used. main character energy: if you don't bring a config, the default shows up and makes sure it's current πŸ’…


🌈 a tiny sign-off 🌈

that's the whole page, honestly β€” short and iconic, just like the original πŸ¦‹

courtesy of Fontconfig 2.17.0, dated 27 June 2025 β€” mwah, go list some fonts, bestie πŸ’œβ­

πŸ“¦ where this page comes from