FcValueEqual(3)

πŸ’– NAME πŸ’–

FcValueEqual β€” the little bestie that tests two values for equality ✨ (yes, this is page FcValueEqual(3), we're doing this together, hold my iced coffee 🧊)


✨ SYNOPSIS ✨

#include <fontconfig/fontconfig.h>

FcBool FcValueEqual (FcValue v_a, FcValue v_b);

Two FcValues walk into a function. Only one leaves with FcTrue. πŸ’…


πŸ¦‹ DESCRIPTION πŸ¦‹

Okay so the whole serve of this function is: it compares two values. That's it. That's the vibe check. πŸ”

Here's the tea on how it actually judges them:

  • Integers and Doubles get compared as numbers β€” so the math girlies are being judged on numeric value, not on which type tag they wore to the party πŸŽ€
  • Everything else has to be the same type to even be considered equal β€” no crossover ships allowed, bestie, if the types don't match it's a hard no πŸ™ˆ
  • Strings are compared ignoring case β€” so "HELLO" and "hello" are literally the same girlie, case is just a styling choice πŸ’…βœ¨
No cap: if the types don't line up (outside of the Int/Double situation), it's not equal. Periodt. πŸ‘‘

🫢 the cute sign-off 🫢

This lil' icon was brought to you by Fontconfig 2.17.0, dropped on 27 June 2025, and yes the page you're reading is FcValueEqual(3) β€” stream it, love it, compare responsibly πŸŒΈπŸ’–πŸŒˆ

πŸ“¦ where this page comes from