---
name: "FcFontSetAdd"
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/FcFontSetAdd"
---

# FcFontSetAdd(3)

Add to a font set

## NAME

FcFontSetAdd - Add to a font set

## SYNOPSIS

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

**FcBool FcFontSetAdd (FcFontSet \****s***, FcPattern \****font***);**

## DESCRIPTION

Adds a pattern to a font set.  Note that the pattern is not copied before being inserted into the set. Returns FcFalse if the pattern cannot be inserted into the set (due to allocation failure). Otherwise returns FcTrue.
