.\" This manpage has been automatically generated by docbook2man
.\" from a DocBook document. This tool can be found at:
.\"
.\" Please send any bug reports, improvements, comments, patches,
.\" etc. to Steve Cheng .
.TH "FcFontMatch" "3" "31 May 2008" "" ""
.SH NAME
FcFontMatch \- Return best font
.SH SYNOPSIS
.sp
\fB#include
.sp
FcPattern * FcFontMatch (FcConfig *\fIconfig\fB, FcPattern *\fIp\fB, FcResult *\fIresult\fB);
\fR
.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
\fIp\fR; otherwise the results will not be correct.
.SH "VERSION"
.PP
Fontconfig version 2.6.0