.\" This manpage has been automatically generated by docbook2man .\" from a DocBook document. This tool can be found at: .\" .\" Please send any bug reports, improvements, comments, patches, .\" etc. to Steve Cheng . .TH "FcFreeTypeCharIndex" "3" "2022/03/31" "Fontconfig 2.14.0" "" .SH NAME FcFreeTypeCharIndex \- map Unicode to glyph id .SH SYNOPSIS .sp \fB#include #include .sp FT_UInt FcFreeTypeCharIndex (FT_Face \fIface\fB, FcChar32 \fIucs4\fB); \fR .SH "DESCRIPTION" .PP 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.