xenocara/lib/fontconfig/doc/FcConfigAppFontAddDir.3

21 lines
657 B
Groff

.\\" auto-generated by docbook2man-spec $Revision: 1.3 $
.TH "FcConfigAppFontAddDir" "3" "18 November 2009" "" ""
.SH NAME
FcConfigAppFontAddDir \- Add fonts from directory to font database
.SH SYNOPSIS
.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