FcConfigSetCurrent(3)

πŸ’… FcConfigSetCurrent(3) β€” the fontconfig bestie page

okay so this is FcConfigSetCurrent(3), straight out of the fontconfig manual, and it's literally about making one config the main character ✨


🌸 NAME

FcConfigSetCurrent β€” set configuration as default 🫢


✨ SYNOPSIS

#include <fontconfig/fontconfig.h>

FcBool FcConfigSetCurrent (FcConfig *config);

πŸ’– DESCRIPTION

Sets the current default configuration to config. No cap, it just slides config into the default spot πŸ‘‘

It implicitly calls FcConfigBuildFonts if necessary, and calls FcConfigReference() to inrease the reference count in config since 2.12.0, returning FcFalse if that call fails. That's the whole vibe check 😭

bestie, keep those details: FcConfigBuildFonts if necessary, FcConfigReference() for the reference count, 2.12.0, and FcFalse on failure. Periodt.

Fontconfig 2.17.0 β€’ 27 June 2025 πŸŽ€

that's it, mwah πŸ’‹βœ¨

πŸ“¦ where this page comes from