Blame doc/FcFontSetMatch.3

Packit 352660
.\" auto-generated by docbook2man-spec from docbook-utils package
Packit 352660
.TH "FcFontSetMatch" "3" "30 8月 2018" "Fontconfig 2.13.1" ""
Packit 352660
.SH NAME
Packit 352660
FcFontSetMatch \- Return the best font from a set of font sets
Packit 352660
.SH SYNOPSIS
Packit 352660
.nf
Packit 352660
\fB#include <fontconfig/fontconfig.h>
Packit 352660
.sp
Packit 352660
FcPattern * FcFontSetMatch (FcConfig *\fIconfig\fB, FcFontSet **\fIsets\fB, int\fInsets\fB, FcPattern *\fIpattern\fB, FcResult *\fIresult\fB);
Packit 352660
.fi\fR
Packit 352660
.SH "DESCRIPTION"
Packit 352660
.PP
Packit 352660
Finds the font in \fIsets\fR most closely matching
Packit 352660
\fIpattern\fR and returns the result of
Packit 352660
\fBFcFontRenderPrepare\fR for that font and the provided
Packit 352660
pattern. This function should be called only after
Packit 352660
\fBFcConfigSubstitute\fR and
Packit 352660
\fBFcDefaultSubstitute\fR have been called for
Packit 352660
\fIpattern\fR; otherwise the results will not be correct.
Packit 352660
If \fIconfig\fR is NULL, the current configuration is used.
Packit 352660
Returns NULL if an error occurs during this process.