7c2577f85d082d9cb836f9a9f299182c4ea1717e
[platform/upstream/fontconfig.git] / doc / FcFontRenderPrepare.3
1 .\" auto-generated by docbook2man-spec from docbook-utils package
2 .TH "FcFontRenderPrepare" "3" "05 8月 2016" "Fontconfig 2.12.1" ""
3 .SH NAME
4 FcFontRenderPrepare \- Prepare pattern for loading font file
5 .SH SYNOPSIS
6 .nf
7 \fB#include <fontconfig/fontconfig.h>
8 .sp
9 FcPattern * FcFontRenderPrepare (FcConfig *\fIconfig\fB, FcPattern *\fIpat\fB, FcPattern *\fIfont\fB);
10 .fi\fR
11 .SH "DESCRIPTION"
12 .PP
13 Creates a new pattern consisting of elements of \fIfont\fR not appearing
14 in \fIpat\fR, elements of \fIpat\fR not appearing in \fIfont\fR and the best matching
15 value from \fIpat\fR for elements appearing in both. The result is passed to
16 FcConfigSubstituteWithPat with \fIkind\fR FcMatchFont and then returned.