1. NAME▲
FcPatternAddInteger, FcPatternAddDouble, FcPatternAddString, FcPatternAddMatrix, FcPatternAddCharSet, FcPatternAddBool, FcPatternAddFTFace, FcPatternAddLangSet - Add a typed value to a pattern
2. SYNOPSIS ▲
\fB#include <
fontconfig.h>
FcBool FcPatternAddInteger
(
FcPattern *
\fIp\fB);
(
const
char
*
\fIobject\fB);
(
int
\fIi\fB);
FcBool FcPatternAddDouble
(
FcPattern *
\fIp\fB);
(
const
char
*
\fIobject\fB);
(
double
\fId\fB);
FcBool FcPatternAddString
(
FcPattern *
\fIp\fB);
(
const
char
*
\fIobject\fB);
(
const
FcChar8 *
\fIs\fB);
FcBool FcPatternAddMatrix
(
FcPattern *
\fIp\fB);
(
const
char
*
\fIobject\fB);
(
const
FcMatrix *
\fIm\fB);
FcBool FcPatternAddCharSet
(
FcPattern *
\fIp\fB);
(
const
char
*
\fIobject\fB);
(
const
FcCharSet *
\fIc\fB);
FcBool FcPatternAddBool
(
FcPattern *
\fIp\fB);
(
const
char
*
\fIobject\fB);
(
FcBool \fIb\fB);
FcBool FcPatternAddFTFace
(
FcPattern *
\fIp\fB);
(
const
char
*
\fIobject\fB);
(
const
FT_Face\fIf\fB);
FcBool FcPatternAddLangSet
(
FcPattern *
\fIp\fB);
(
const
char
*
\fIobject\fB);
(
const
FcLangSet *
\fIl\fB);
\fR.fi
3. DESCRIPTION▲
These are all convenience functions that insert objects of the specified type into the pattern. Use these in preference to FcPatternAdd as they will provide compile-time typechecking. These all append values to any existing list of values.
4. VERSION ▲
Fontconfig version 2.8.0