xenocara/dist/fontconfig/doc/FcConfigAppFontAddFile.3

16 lines
590 B
Groff

.\" auto-generated by docbook2man-spec from docbook-utils package
.TH "FcConfigAppFontAddFile" "3" "24 3月 2014" "Fontconfig 2.11.1" ""
.SH NAME
FcConfigAppFontAddFile \- Add font file to font database
.SH SYNOPSIS
.nf
\fB#include <fontconfig/fontconfig.h>
.sp
FcBool FcConfigAppFontAddFile (FcConfig *\fIconfig\fB, const FcChar8 *\fIfile\fB);
.fi\fR
.SH "DESCRIPTION"
.PP
Adds an application-specific font to the configuration. 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.