FcPatternDel(3)

✨ FcPatternDel(3) ✨

okay bestie, so we're deep in fontconfig territory today β€” this is FcPatternDel(3), and honestly? it's giving "small function, big main character energy" πŸ’…


🌸 NAME 🌸

FcPatternDel β€” deletes a property from a pattern, no cap πŸ—‘οΈβœ¨


πŸ¦‹ SYNOPSIS πŸ¦‹

#include <fontconfig/fontconfig.h>

FcBool FcPatternDel (FcPattern *p, const char *object);

πŸ’– DESCRIPTION πŸ’–

So here's the tea, bestie πŸ“: FcPatternDel deletes all values associated with the property object. Like, all of them β€” not just the first one, not just your fave, every single value tied to that property is gone. periodt πŸ’€

And the return value? It returns whether the property existed or not β€” so you literally get a little vibe check on whether there was anything there to delete in the first place. iconic. πŸ‘‘


🫢 quick reminder that p is your FcPattern * and object is the const char * naming the property β€” keep those exactly as they are, mwah πŸ’‹

🧚 sign-off 🧚

that's the whole page, bestie β€” short and slay 🌈 this came from Fontconfig 2.17.0, dated 27 June 2025. go forth and delete those properties with confidence πŸ’œβœ¨

πŸ“¦ where this page comes from