.\" This manpage has been automatically generated by docbook2man
.\" from a DocBook document. This tool can be found at:
.\"
.\" Please send any bug reports, improvements, comments, patches,
.\" etc. to Steve Cheng .
.TH "FcPatternAdd" "3" "23 August 2026" "Fontconfig 2.18.3" ""
.SH NAME
FcPatternAdd \- Add a value to a pattern
.SH SYNOPSIS
.sp
\fB#include
.sp
FcBool FcPatternAdd (FcPattern *\fIp\fB, const char *\fIobject\fB, FcValue \fIvalue\fB, FcBool \fIappend\fB);
\fR
.SH "DESCRIPTION"
.PP
Adds a single value to the list of values associated with the property named
\fIobject\fR\&. If \fIappend\fR is FcTrue,
the value is added at the end of any existing list, otherwise it is inserted
at the beginning. \fIvalue\fR is saved
(with FcValueSave) when inserted into the pattern so that the library
retains no reference to any application-supplied data structure.