FcPatternAdd(3)

πŸ’– NAME πŸ’–

okay so bestie, welcome to the manual page for FcPatternAdd(3) β€” the fontconfig function that does exactly what it says on the label: Add a value to a pattern. slay.

✨ SYNOPSIS ✨

#include <fontconfig/fontconfig.h>

FcBool FcPatternAdd (FcPattern *p, const char *object, FcValue value, FcBool append);

πŸ¦‹ DESCRIPTION πŸ¦‹

So here's the vibe: FcPatternAdd adds a single value to the list of values associated with the property named object. one value, one little moment, no cap.

If append is FcTrue, that value gets added at the end of any existing list. Otherwise? It's inserted at the beginning. iconic behavior, honestly.

And after that, value is saved (with FcValueSave) when it's inserted into the pattern, so the library retains no reference to any application-supplied data structure. literally no lingering ties, periodt.


🌸 Fontconfig 2.17.0 · 27 June 2025 · that's the cute little sign-off, bestie 🫢

πŸ“¦ where this page comes from