xenocara/dist/fontconfig/doc/FcFontSetAdd.3

16 lines
544 B
Groff
Raw Normal View History

.\" auto-generated by docbook2man-spec from docbook-utils package
.TH "FcFontSetAdd" "3" "21 10月 2022" "Fontconfig 2.14.1" ""
.SH NAME
FcFontSetAdd \- Add to a font set
.SH SYNOPSIS
.nf
\fB#include <fontconfig/fontconfig.h>
.sp
FcBool FcFontSetAdd (FcFontSet *\fIs\fB, FcPattern *\fIfont\fB);
.fi\fR
.SH "DESCRIPTION"
.PP
Adds a pattern to a font set. Note that the pattern is not copied before
being inserted into the set. Returns FcFalse if the pattern cannot be
inserted into the set (due to allocation failure). Otherwise returns FcTrue.