FcFontSetMatch.3 revision a6844aab
1.\\" auto-generated by docbook2man-spec $Revision: 1.1.1.2 $
2.TH "FcFontSetMatch" "3" "18 November 2009" "" ""
3.SH NAME
4FcFontSetMatch \- Return the best font from a set of font sets
5.SH SYNOPSIS
6.nf
7\fB#include <fontconfig.h>
8.sp
9FcPattern * FcFontSetMatch(FcConfig *\fIconfig\fB);
10(FcFontSet **\fIsets\fB);
11(int\fInsets\fB);
12(FcPattern *\fIpattern\fB);
13(FcResult *\fIresult\fB);
14\fR.fi
15.SH "DESCRIPTION"
16.PP
17Finds the font in \fIsets\fR most closely matching
18\fIpattern\fR and returns the result of
19\fBFcFontRenderPrepare\fR for that font and the provided
20pattern. This function should be called only after
21\fBFcConfigSubstitute\fR and
22\fBFcDefaultSubstitute\fR have been called for
23\fIpattern\fR; otherwise the results will not be correct.
24If \fIconfig\fR is NULL, the current configuration is used.
25Returns NULL if an error occurs during this process.
26.SH "VERSION"
27.PP
28Fontconfig version 2.8.0
29