2006-11-25 11:41:30 -07:00
|
|
|
.\" This manpage has been automatically generated by docbook2man
|
|
|
|
.\" from a DocBook document. This tool can be found at:
|
|
|
|
.\" <http://shell.ipoline.com/~elmert/comp/docbook2X/>
|
|
|
|
.\" Please send any bug reports, improvements, comments, patches,
|
|
|
|
.\" etc. to Steve Cheng <steve@ggi-project.org>.
|
2009-04-05 10:43:35 -06:00
|
|
|
.TH "FcFontMatch" "3" "31 May 2008" "" ""
|
2006-11-25 11:41:30 -07:00
|
|
|
|
|
|
|
.SH NAME
|
|
|
|
FcFontMatch \- Return best font
|
|
|
|
.SH SYNOPSIS
|
|
|
|
.sp
|
|
|
|
\fB#include <fontconfig.h>
|
|
|
|
.sp
|
|
|
|
FcPattern * FcFontMatch (FcConfig *\fIconfig\fB, FcPattern *\fIp\fB, FcResult *\fIresult\fB);
|
|
|
|
\fR
|
|
|
|
.SH "DESCRIPTION"
|
|
|
|
.PP
|
2009-04-05 10:43:35 -06:00
|
|
|
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.
|
2006-11-25 11:41:30 -07:00
|
|
|
.SH "VERSION"
|
|
|
|
.PP
|
2009-04-05 10:43:35 -06:00
|
|
|
Fontconfig version 2.6.0
|