---
name: "FcConfigGetFonts"
section: "3"
platform: "linux"
package: "fontconfig"
version: "2:2.18.3-2"
release: "Arch Linux 2026-11-01"
platforms: ["linux"]
url: "https://new.carta.tech/FcConfigGetFonts"
---

# FcConfigGetFonts(3)

Get config font set

## NAME

FcConfigGetFonts - Get config font set

## SYNOPSIS

**#include \<fontconfig/fontconfig.h\>**

**FcFontSet \* FcConfigGetFonts (FcConfig \****config***, FcSetName** *set***);**

## DESCRIPTION

Returns one of the two sets of fonts from the configuration as specified by *set*. This font set is owned by the library and must not be modified or freed. If *config* is NULL, the current configuration is used.

This function isn't MT-safe. **FcConfigReference** must be called before using this and then **FcConfigDestroy** when the return value is no longer referenced.
