|
Packit |
352660 |
.\" auto-generated by docbook2man-spec from docbook-utils package
|
|
Packit |
352660 |
.TH "FcFontMatch" "3" "30 8月 2018" "Fontconfig 2.13.1" ""
|
|
Packit |
352660 |
.SH NAME
|
|
Packit |
352660 |
FcFontMatch \- Return best font
|
|
Packit |
352660 |
.SH SYNOPSIS
|
|
Packit |
352660 |
.nf
|
|
Packit |
352660 |
\fB#include <fontconfig/fontconfig.h>
|
|
Packit |
352660 |
.sp
|
|
Packit |
352660 |
FcPattern * FcFontMatch (FcConfig *\fIconfig\fB, FcPattern *\fIp\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 |
\fIp\fR; otherwise the results will not be correct.
|
|
Packit |
352660 |
If \fIconfig\fR is NULL, the current configuration is used.
|