1FcPatternAdd-Type(3) FcPatternAdd-Type(3)
2
3
4
6 FcPatternAddInteger, FcPatternAddDouble, FcPatternAddString, FcPatter‐
7 nAddMatrix, FcPatternAddCharSet, FcPatternAddBool, FcPatternAddFTFace,
8 FcPatternAddLangSet - Add a typed value to a pattern
9
11 #include <fontconfig.h>
12
13 FcBool FcPatternAddInteger(FcPattern *p);
14 (const char *object);
15 (int i);
16
17 FcBool FcPatternAddDouble(FcPattern *p);
18 (const char *object);
19 (double d);
20
21 FcBool FcPatternAddString(FcPattern *p);
22 (const char *object);
23 (const FcChar8 *s);
24
25 FcBool FcPatternAddMatrix(FcPattern *p);
26 (const char *object);
27 (const FcMatrix *m);
28
29 FcBool FcPatternAddCharSet(FcPattern *p);
30 (const char *object);
31 (const FcCharSet *c);
32
33 FcBool FcPatternAddBool(FcPattern *p);
34 (const char *object);
35 (FcBool b);
36
37 FcBool FcPatternAddFTFace(FcPattern *p);
38 (const char *object);
39 (const FT_Facef);
40
41 FcBool FcPatternAddLangSet(FcPattern *p);
42 (const char *object);
43 (const FcLangSet *l);
44 .fi
45
47 These are all convenience functions that insert objects of the speci‐
48 fied type into the pattern. Use these in preference to FcPatternAdd as
49 they will provide compile-time typechecking. These all append values to
50 any existing list of values.
51
53 Fontconfig version 2.8.0
54
55
56
57 18 November 2009 FcPatternAdd-Type(3)