Introduction to Library Functions FcPatternAdd-Type(3)
NAME
FcPatternAddInteger, FcPatternAddDouble, FcPatternAddString, FcPatternAddMatrix, FcPatternAddCharSet, FcPatternAddBool,FcPatternAddFTFace, FcPatternAddLangSet - Add a typed value
to a patternSYNOPSIS
cc [ flag... ] file... -lfontconfig [ library... ]
#include
FcBool FcPatternAddInteger(FcPattern *p); (const char *object); (int i); FcBool FcPatternAddDouble(FcPattern *p); (const char *object); (double d); FcBool FcPatternAddString(FcPattern *p); (const char *object); (const FcChar8 *s); FcBool FcPatternAddMatrix(FcPattern *p); (const char *object); (const FcMatrix *m); FcBool FcPatternAddCharSet(FcPattern *p); (const char *object); (const FcCharSet *c); FcBool FcPatternAddBool(FcPattern *p); (const char *object); (FcBool b); FcBool FcPatternAddFTFace(FcPattern *p); (const char *object);(const FT_Facef);
FcBool FcPatternAddLangSet(FcPattern *p); (const char *object); (const FcLangSet *l);DESCRIPTION
These are all convenience functions that insert objects of the specified type into the pattern. Use these in preferenceto FcPatternAdd as they will provide compile-time typecheck-
ing. These all append values to any existing list of values. VERSION Fontconfig version 2.8.0 SunOS 5.10 Last change: 18 November 2009 1Introduction to Library Functions FcPatternAdd-Type(3)
ATTRIBUTES
See attributes(5) for descriptions of the following attri-
butes:____________________________________________________________
| ATTRIBUTE TYPE | ATTRIBUTE VALUE |
|_____________________________|_____________________________|
| Availability | system/library/fontconfig ||_____________________________|_____________________________|
| Interface Stability | Volatile ||_____________________________|_____________________________|
| MT-Level | Unknown |
|_____________________________|_____________________________|
SunOS 5.10 Last change: 18 November 2009 2