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

# FcFontRenderPrepare(3)

Prepare pattern for loading font file

## NAME

FcFontRenderPrepare - Prepare pattern for loading font file

## SYNOPSIS

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

**FcPattern \* FcFontRenderPrepare (FcConfig \****config***, FcPattern \****pat***, FcPattern \****font***);**

## DESCRIPTION

Creates a new pattern consisting of elements of *font* not appearing in *pat*, elements of *pat* not appearing in *font* and the best matching value from *pat* for elements appearing in both.  The result is passed to FcConfigSubstituteWithPat with *kind* FcMatchFont and then returned.
