FcLangSetCopy(3)

okay so bestie, welcome to the FcLangSetCopy(3) manual page — it’s giving “tiny but essential Fontconfig function” and I’m obsessed. ✨

🌸 NAME 🌸

FcLangSetCopy — copy a langset object. that’s it, that’s the gig. 🎀


🦋 SYNOPSIS 🦋

first, include the header like so:

#include <fontconfig/fontconfig.h>

then the call itself is exactly:

FcLangSet * FcLangSetCopy (const FcLangSet *ls);

💅 DESCRIPTION 💅

okay so FcLangSetCopy creates a new FcLangSet object and populates it with the contents of ls. no cap, that’s the whole description — it’s literally copying the langset contents into a fresh object. 🫶

mwah 💋 — this iconic little page comes from Fontconfig 2.17.0, dated 27 June 2025. 🌈

📦 where this page comes from