Upload tizen 2.0 beta source
[framework/graphics/fontconfig.git] / doc / FcFontSetMatch.3
1 .\" This manpage has been automatically generated by docbook2man 
2 .\" from a DocBook document.  This tool can be found at:
3 .\" <http://shell.ipoline.com/~elmert/comp/docbook2X/> 
4 .\" Please send any bug reports, improvements, comments, patches, 
5 .\" etc. to Steve Cheng <steve@ggi-project.org>.
6 .TH "FcFontSetMatch" "3" "11 3月 2012" "" ""
7
8 .SH NAME
9 FcFontSetMatch \- Return the best font from a set of font sets
10 .SH SYNOPSIS
11 .sp
12 \fB#include <fontconfig.h>
13 .sp
14 FcPattern * FcFontSetMatch (FcConfig *\fIconfig\fB, FcFontSet **\fIsets\fB, int\fInsets\fB, FcPattern *\fIpattern\fB, FcResult *\fIresult\fB);
15 \fR
16 .SH "DESCRIPTION"
17 .PP
18 Finds the font in \fIsets\fR most closely matching
19 \fIpattern\fR and returns the result of
20 \fBFcFontRenderPrepare\fR for that font and the provided
21 pattern. This function should be called only after
22 \fBFcConfigSubstitute\fR and
23 \fBFcDefaultSubstitute\fR have been called for
24 \fIpattern\fR; otherwise the results will not be correct.
25 If \fIconfig\fR is NULL, the current configuration is used.
26 Returns NULL if an error occurs during this process.
27 .SH "VERSION"
28 .PP
29 Fontconfig version 2.9.0