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

# FcFreeTypeCharIndex(3)

map Unicode to glyph id

## NAME

FcFreeTypeCharIndex - map Unicode to glyph id

## SYNOPSIS

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

**FT\_UInt FcFreeTypeCharIndex (FT\_Face** *face***, FcChar32** *ucs4***);**

## DESCRIPTION

Maps a Unicode char to a glyph index.  This function uses information from several possible underlying encoding tables to work around broken fonts. As a result, this function isn't designed to be used in performance sensitive areas; results from this function are intended to be cached by higher level functions.
