FcCacheCopySet(3)

πŸ’… FcCacheCopySet(3) β€” the fontconfig girlypop page

okay so real talk, this is FcCacheCopySet(3), section 3 of the manual, and she is iconic. let's get into it bestie 🫢


✨ NAME ✨

FcCacheCopySet β€” Returns a copy of the fontset from cache πŸŽ€


🌸 SYNOPSIS 🌸

#include <fontconfig/fontconfig.h>

FcFontSet * FcCacheCopySet (const FcCache *cache);

like, that's the whole vibe check right there. one include, one function, no cap ✨


πŸ¦‹ DESCRIPTION πŸ¦‹

okay so here's the tea β˜•: the fontset you get back contains each of the font patterns from cache. every single one, no crumbs left behind πŸ’…

and like, good news β€” this fontset is yours to modify. go off, edit it, do whatever, main character energy πŸ‘‘

BUT 🚨 the patterns that came from the cache? those are read-only. do not touch. seriously. they're giving "look but don't touch" and we respect that boundary fr fr πŸ™ˆ

bestie pls remember: the fontset is copyable and modifiable, but the patterns from the cache are read-only. do not come for them. they will not survive it and neither will you 😭

🧚 sign-off 🧚

and that's the page!! brought to you by Fontconfig 2.17.0, dated 27 June 2025 β€” she's serving vintage but make it current, periodt πŸ’–πŸŽ€πŸ¦‹

πŸ“¦ where this page comes from