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

# FcFreeTypeQuery(3)

compute pattern from font file (and index)

## NAME

FcFreeTypeQuery - compute pattern from font file (and index)

## SYNOPSIS

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

**FcPattern \* FcFreeTypeQuery (const FcChar8 \****file***, int** *id***, FcBlanks \****blanks***, int \****count***);**

## DESCRIPTION

Constructs a pattern representing the 'id'th face in 'file'.  The number of faces in 'file' is returned in 'count'. FcBlanks is deprecated, *blanks* is ignored and accepted only for compatibility with older code.
