fcft_destroy(3)

πŸ’… fcft_destroy(3) β€” free fcft_font objects πŸ’…

okay so bestie, this is fcft_destroy(3) from the fcft manual, and it’s literally the cleanup era for your fcft_font objects ✨


πŸŽ€ NAME πŸŽ€

fcft_destroy β€” free fcft_font objects 🫢


🌸 SYNOPSIS 🌸

#include <fcft/fcft.h>

void fcft_destroy(struct fcft_font *font);

πŸ¦‹ DESCRIPTION πŸ¦‹

fcft_destroy() frees the fcft_font object font, which must have been created with fcft_from_name() or fcft_clone(). no cap, that’s the whole assignment πŸ’–

After calling fcft_destroy(), font can no longer be used, and all references to fcft_glyph objects β€” retrieved with fcft_codepoint_rasterize() β€” are now invalid. it’s giving β€œthat object has left the chat” πŸ˜­πŸ’€

font may be NULL, in which case fcft_destroy() is a no-op. so if you’re passing NULL, it’s lowkey just vibes and nothing happens 🌈


⭐ RETURN VALUE ⭐

None. literally nothing comes back, bestie β€” it’s giving silent but iconic πŸŽ€


πŸ‘‘ SEE ALSO πŸ‘‘

  • fcft_from_name()
  • fcft_from_name2()
  • fcft_clone()
  • fcft_codepoint_rasterize()

mwah πŸ’‹ this page is from fcft version 3.3.3, dated 2026-04-09 β€” periodt, go free those fonts responsibly πŸ§šπŸ’œ

πŸ“¦ where this page comes from