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

# FcCacheCopySet(3)

Returns a copy of the fontset from cache

## NAME

FcCacheCopySet - Returns a copy of the fontset from cache

## SYNOPSIS

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

**FcFontSet \* FcCacheCopySet (const FcCache \****cache***);**

## DESCRIPTION

The returned fontset contains each of the font patterns from *cache*. This fontset may be modified, but the patterns from the cache are read-only.
