xenocara/dist/fontconfig/doc/FcConfigAppFontAddFile.3

17 lines
608 B
Groff
Raw Normal View History

.\" auto-generated by docbook2man-spec from docbook-utils package
.TH "FcConfigAppFontAddFile" "3" "05 7月 2017" "Fontconfig 2.12.4" ""
.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 or no fonts found).
Otherwise returns FcTrue. If \fIconfig\fR is NULL,
the current configuration is used.