2013-03-09 06:33:45 -07:00
|
|
|
.\" auto-generated by docbook2man-spec from docbook-utils package
|
2017-08-19 04:11:04 -06:00
|
|
|
.TH "FcFontMatch" "3" "05 7月 2017" "Fontconfig 2.12.4" ""
|
2013-03-09 06:33:45 -07:00
|
|
|
.SH NAME
|
|
|
|
FcFontMatch \- Return best font
|
|
|
|
.SH SYNOPSIS
|
|
|
|
.nf
|
|
|
|
\fB#include <fontconfig/fontconfig.h>
|
|
|
|
.sp
|
|
|
|
FcPattern * FcFontMatch (FcConfig *\fIconfig\fB, FcPattern *\fIp\fB, FcResult *\fIresult\fB);
|
|
|
|
.fi\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.
|
|
|
|
If \fIconfig\fR is NULL, the current configuration is used.
|