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

# FcPatternFilter(3)

Filter the objects of pattern

## NAME

FcPatternFilter - Filter the objects of pattern

## SYNOPSIS

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

**FcPattern \* FcPatternFilter (FcPattern \****p***, const FcObjectSet \****os***);**

## DESCRIPTION

Returns a new pattern that only has those objects from *p* that are in *os*. If *os* is NULL, a duplicate of *p* is returned.
