FcFontSetDestroy(3)
π FcFontSetDestroy β bestie, it's time to say bye
okay so this is FcFontSetDestroy(3), a section 3 manual page, and honestly? it's a short one. a little baby page. but it's important, so pay attention π
β¨ NAME β¨
FcFontSetDestroy β destroy a font set. that's it. that's the whole job. clean, simple, iconic π
πΈ SYNOPSIS πΈ
#include <fontconfig/fontconfig.h>
void FcFontSetDestroy (FcFontSet *s);
like, that's literally the whole thing. one include, one function, one pointer. no notes β¨
π¦ DESCRIPTION π¦
okay so FcFontSetDestroy destroys a font set. the way it works is exactly what it says on the tin β you hand it a font set, it goes poof π¨
but β and this is the part where you need to actually listen, bestie β it also destroys any referenced patterns as well. so like, not just the set itself. everything it's pointing at? also gone. so if you had other plans for those patterns, uh. those plans are cancelled π
no cap, this is a real caveat: destroying the font set destroys the patterns it references too. don't come for me later if you double-freed something π
π§ sign-off π§
and that's the whole page, bestie! this little gem comes to you from Fontconfig 2.17.0, dated 27 June 2025 β and yes, FcFontSetDestroy(3) is still the name, still slaying, still out here freeing font sets since forever ππ
go forth and clean up your memory responsibly π«Άβ¨
π¦ 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