File: FcFontMatch.3

package info (click to toggle)
fontconfig 2.13.1-4.2
  • links: PTS, VCS
  • area: main
  • in suites: bullseye
  • size: 10,868 kB
  • sloc: ansic: 30,903; sh: 5,358; makefile: 1,117; sed: 16
file content (20 lines) | stat: -rw-r--r-- 736 bytes parent folder | download | duplicates (2)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
.\" auto-generated by docbook2man-spec from docbook-utils package
.TH "FcFontMatch" "3" "30 8月 2018" "Fontconfig 2.13.1" ""
.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.