| Current File : //usr/man/man3/FcConfigAppFontAddDir.3 |
'\" t
.\\" auto-generated by docbook2man-spec $Revision: 1.2 $
.TH "FcConfigAppFontAddDir" "3" "18 November 2009" "" ""
.SH NAME
FcConfigAppFontAddDir \- Add fonts from directory to font database
.SH SYNOPSIS
.nf
\fBcc\fR [ \fIflag\fR\&.\&.\&. ] \fIfile\fR\&.\&.\&. \fB\-lfontconfig\fR [ \fIlibrary\fR\&.\&.\&. ]
.fi
.sp
.nf
\fBcc\fR [ \fIflag\fR\&.\&.\&. ] `pkg-config --cflags fontconfig` \fIfile\fR\&.\&.\&. `pkg-config --libs fontconfig`
.fi
.nf
\fB#include <fontconfig.h>
.sp
FcBool FcConfigAppFontAddDir(FcConfig *\fIconfig\fB);
(const FcChar8 *\fIdir\fB);
\fR.fi
.SH "DESCRIPTION"
.PP
Scans the specified directory for fonts, adding each one found to the
application-specific set of fonts. Returns FcFalse
if the fonts cannot be added (due to allocation failure). Otherwise returns FcTrue.
If \fIconfig\fR is NULL, the current configuration is used.
.SH "VERSION"
.PP
Fontconfig version 2.8.0
.\" Begin Oracle Solaris update
.SH "ATTRIBUTES"
See \fBattributes\fR(5) for descriptions of the following attributes:
.sp
.TS
allbox;
cw(2.750000i)| cw(2.750000i)
lw(2.750000i)| lw(2.750000i).
ATTRIBUTE TYPE ATTRIBUTE VALUE
Availability system/library/fontconfig
Interface Stability Volatile
MT-Level Unknown
.TE
.sp
.\" End Oracle Solaris update