2023-08-28 05:57:34 +00:00
|
|
|
.\" auto-generated by docbook2man-spec from docbook-utils package
|
2025-01-10 01:40:29 +00:00
|
|
|
.TH "FcConfigAppFontAddDir" "3" "22 12月 2023" "Fontconfig 2.15.0" ""
|
2023-08-28 05:57:34 +00:00
|
|
|
.SH NAME
|
|
|
|
FcConfigAppFontAddDir \- Add fonts from directory to font database
|
|
|
|
.SH SYNOPSIS
|
|
|
|
.nf
|
|
|
|
\fB#include <fontconfig/fontconfig.h>
|
|
|
|
.sp
|
|
|
|
FcBool FcConfigAppFontAddDir (FcConfig *\fIconfig\fB, const FcChar8 *\fIdir\fB);
|
|
|
|
.fi\fR
|
|
|
|
.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.
|