FcFreeTypeCharIndex3
Map unicode to glyph id
Usage
#include <fontconfig.h> #include <fcfreetype.h>
FT_UInt FcFreeTypeCharIndex (FT_Face face, FcChar32 ucs4);
Overview
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.
Releases
12 releases since Debian 3.1 (Sarge); the text changed 10 times.