6ff7370150d705b3554de65a7096703767e5f058
[platform/upstream/fontconfig.git] / doc / FcConfigSetCurrent.3
1 .\" auto-generated by docbook2man-spec from docbook-utils package
2 .TH "FcConfigSetCurrent" "3" "05 8月 2016" "Fontconfig 2.12.1" ""
3 .SH NAME
4 FcConfigSetCurrent \- Set configuration as default
5 .SH SYNOPSIS
6 .nf
7 \fB#include <fontconfig/fontconfig.h>
8 .sp
9 FcBool FcConfigSetCurrent (FcConfig *\fIconfig\fB);
10 .fi\fR
11 .SH "DESCRIPTION"
12 .PP
13 Sets the current default configuration to \fIconfig\fR\&. Implicitly calls
14 FcConfigBuildFonts if necessary, and FcConfigReference() to inrease the reference count
15 in \fIconfig\fR since 2.12.0, returning FcFalse if that call fails.