2010-03-25 15:45:57 -06:00
|
|
|
.\\" auto-generated by docbook2man-spec $Revision: 1.2 $
|
|
|
|
.TH "FcFontSetMatch" "3" "18 November 2009" "" ""
|
2009-04-05 10:43:35 -06:00
|
|
|
.SH NAME
|
|
|
|
FcFontSetMatch \- Return the best font from a set of font sets
|
|
|
|
.SH SYNOPSIS
|
2010-03-25 15:45:57 -06:00
|
|
|
.nf
|
2009-04-05 10:43:35 -06:00
|
|
|
\fB#include <fontconfig.h>
|
|
|
|
.sp
|
2010-03-25 15:45:57 -06:00
|
|
|
FcPattern * FcFontSetMatch(FcConfig *\fIconfig\fB);
|
|
|
|
(FcFontSet **\fIsets\fB);
|
|
|
|
(int\fInsets\fB);
|
|
|
|
(FcPattern *\fIpattern\fB);
|
|
|
|
(FcResult *\fIresult\fB);
|
|
|
|
\fR.fi
|
2009-04-05 10:43:35 -06:00
|
|
|
.SH "DESCRIPTION"
|
|
|
|
.PP
|
|
|
|
Finds the font in \fIsets\fR most closely matching
|
|
|
|
\fIpattern\fR and returns the result of
|
|
|
|
\fBFcFontRenderPrepare\fR for that font and the provided
|
|
|
|
pattern. This function should be called only after
|
|
|
|
\fBFcConfigSubstitute\fR and
|
|
|
|
\fBFcDefaultSubstitute\fR have been called for
|
|
|
|
\fIpattern\fR; otherwise the results will not be correct.
|
2010-03-25 15:45:57 -06:00
|
|
|
If \fIconfig\fR is NULL, the current configuration is used.
|
2009-04-05 10:43:35 -06:00
|
|
|
Returns NULL if an error occurs during this process.
|
|
|
|
.SH "VERSION"
|
|
|
|
.PP
|
2010-03-25 15:45:57 -06:00
|
|
|
Fontconfig version 2.8.0
|