FcFreeTypeCharIndex - map Unicode to glyph id
#include <fontconfig.h> #include <fcfreetype.h> FT_UInt FcFreeTypeCharIndex (FT_Face face, FcChar32 ucs4);
FcFreeTypeCharIndex(3) FcFreeTypeCharIndex(3) 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 perfor- mance sensitive areas; results from this function are intended to be cached by higher level functions. ATTRIBUTES See attributes(7) for descriptions of the following attributes: +---------------+---------------------------+ |ATTRIBUTE TYPE | ATTRIBUTE VALUE | +---------------+---------------------------+ |Availability | system/library/fontconfig | +---------------+---------------------------+ |Stability | Volatile | +---------------+---------------------------+ NOTES Source code for open source software components in Oracle Solaris can be found at https://www.oracle.com/downloads/opensource/solaris-source- code-downloads.html. This software was built from source available at https://github.com/oracle/solaris-userland. The original community source was downloaded from https://fontconfig.org/release/fontcon- fig-2.14.0.tar.xz. Further information about this software can be found on the open source community website at https://fontconfig.org/. Fontconfig 2.14.0 31 3 2022 FcFreeTypeCharIndex(3)