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

# FcConfigSubstitute(3)

Execute substitutions

## NAME

FcConfigSubstitute - Execute substitutions

## SYNOPSIS

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

**FcBool FcConfigSubstitute (FcConfig \****config***, FcPattern \****p***, FcMatchKind** *kind***);**

## DESCRIPTION

Calls FcConfigSubstituteWithPat setting p\_pat to NULL. Returns FcFalse if the substitution cannot be performed (due to allocation failure). Otherwise returns FcTrue. If *config* is NULL, the current configuration is used.
