Go to main content

man pages section 3: Library Interfaces and Headers

Exit Print View

Updated: Thursday, June 13, 2019
 
 

FcPatternAdd-Type (3)

Name

FcPatternAdd-Type - nAddMatrix, FcPatternAddCharSet, FcPatternAddBool, FcPatternAddFTFace, FcPatternAddLangSet, FcPatternAddRange - Add a typed value to a pattern

Synopsis

#include <fontconfig/fontconfig.h>

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);

FcBool FcPatternAddRange (FcPattern *p, const char *object, const FcRange *r);

Description

FcPatternAdd-Type(3)                                      FcPatternAdd-Type(3)



NAME
       FcPatternAddInteger,  FcPatternAddDouble, FcPatternAddString, FcPatter-
       nAddMatrix, FcPatternAddCharSet, FcPatternAddBool,  FcPatternAddFTFace,
       FcPatternAddLangSet, FcPatternAddRange - Add a typed value to a pattern

SYNOPSIS
       #include <fontconfig/fontconfig.h>

       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);

       FcBool FcPatternAddRange (FcPattern *p, const char *object, const FcRange *r);

DESCRIPTION
       These  are  all convenience functions that insert objects of the speci-
       fied 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.   FcPatternAddRange  are  available  since
       2.11.91.



ATTRIBUTES
       See attributes(7) for descriptions of the following attributes:


       +---------------+---------------------------+
       |ATTRIBUTE TYPE |     ATTRIBUTE VALUE       |
       +---------------+---------------------------+
       |Availability   | system/library/fontconfig |
       +---------------+---------------------------+
       |Stability      | Volatile                  |
       +---------------+---------------------------+
NOTES
       This     software     was    built    from    source    available    at
       https://github.com/oracle/solaris-userland.   The  original   community
       source  was  downloaded  from   https://fontconfig.org/release/fontcon-
       fig-2.12.1.tar.bz2

       Further information about this software can be found on the open source
       community website at https://fontconfig.org/.



Fontconfig 2.12.1                  05 8 2016              FcPatternAdd-Type(3)