File: FcFontSetMatch.3

package info (click to toggle)
fontconfig 2.11.0-6.7
  • links: PTS
  • area: main
  • in suites: stretch
  • size: 14,344 kB
  • ctags: 2,449
  • sloc: ansic: 28,283; sh: 14,711; makefile: 1,017
file content (24 lines) | stat: -rw-r--r-- 906 bytes parent folder | download | duplicates (3)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
.\" auto-generated by docbook2man-spec from docbook-utils package
.TH "FcFontSetMatch" "3" "11 10月 2013" "" ""
.SH NAME
FcFontSetMatch \- Return the best font from a set of font sets
.SH SYNOPSIS
.nf
\fB#include <fontconfig/fontconfig.h>
.sp
FcPattern * FcFontSetMatch (FcConfig *\fIconfig\fB, FcFontSet **\fIsets\fB, int\fInsets\fB, FcPattern *\fIpattern\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
\fIpattern\fR; otherwise the results will not be correct.
If \fIconfig\fR is NULL, the current configuration is used.
Returns NULL if an error occurs during this process.
.SH "VERSION"
.PP
Fontconfig version 2.11.0