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

# FcCacheNumFont(3)

Returns the number of fonts in cache.

## NAME

FcCacheNumFont - Returns the number of fonts in cache.

## SYNOPSIS

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

**int FcCacheNumFont (const FcCache \****cache***);**

## DESCRIPTION

This returns the number of fonts which would be included in the return from FcCacheCopySet.
