0ca41ac9b3d3930d0d587a47f8aaf0e47a044c8c
[platform/upstream/fontconfig.git] / doc / FcFreeTypeCharIndex.3
1 .\" auto-generated by docbook2man-spec from docbook-utils package
2 .TH "FcFreeTypeCharIndex" "3" "05 8月 2016" "Fontconfig 2.12.1" ""
3 .SH NAME
4 FcFreeTypeCharIndex \- map Unicode to glyph id
5 .SH SYNOPSIS
6 .nf
7 \fB#include <fontconfig.h>
8 #include <fcfreetype.h>
9 .sp
10 FT_UInt FcFreeTypeCharIndex (FT_Face \fIface\fB, FcChar32 \fIucs4\fB);
11 .fi\fR
12 .SH "DESCRIPTION"
13 .PP
14 Maps a Unicode char to a glyph index. This function uses information from
15 several possible underlying encoding tables to work around broken fonts.
16 As a result, this function isn't designed to be used in performance
17 sensitive areas; results from this function are intended to be cached by
18 higher level functions.