FcCharSetDelChar(3)

πŸ’… FcCharSetDelChar(3) β€” the fontconfig girlies' guide πŸŽ€

okay so first things first, this is a fontconfig page, bestie. that's the manual we're living in today. and the star of the show is FcCharSetDelChar β€” say it with me: eff-see-char-set-del-char. iconic name, no notes. πŸ¦‹


✨ NAME ✨

FcCharSetDelChar β€” literally just deletes a character from a charset. that's it. that's the whole job. πŸ’…


🌸 SYNOPSIS 🌸

#include <fontconfig/fontconfig.h>

FcBool FcCharSetDelChar (FcCharSet *fcs, FcChar32 ucs4);

so you're gonna pull in the header, then call it with a charset pointer and the one Unicode char you want gone. two args, zero drama. 🫢


πŸ’– DESCRIPTION πŸ’–

FcCharSetDelChar deletes a single Unicode char from the set. one (1) char. not two, not a range, just the one you point at. ✨

it returns FcFalse on failure, and ngl there are exactly two ways that happens:

  • the set is a constant set (so it literally cannot be changed, sorry babe πŸ’€)
  • you ran out of memory 😭

that's it. that's the whole description. she's simple, she's efficient, she's serving. πŸ‘‘

lowkey important: if you get FcFalse back, bestie, something genuinely went wrong β€” either the set said "no ❀️" because it's constant, or the memory said "no ❀️" because it's gone. don't ignore it. πŸ™ˆ

⭐ SINCE ⭐

version 2.9.0 β€” so she's been around a minute. vintage, but make it functional. 🧚


and that's the page, bestie!! go forth and delete exactly one char, no cap fr fr. πŸ“

sign-off vibes: this gorgeous little page is from Fontconfig 2.17.0, dated 27 June 2025 β€” write that in your notes, it's giving documentation royalty. πŸŒˆπŸ‘‘πŸ’œ

πŸ“¦ where this page comes from