]> git.wh0rd.org - fontconfig.git/blobdiff - fontconfig/fontconfig.h
Compare device numbers as well as inodes. Always normalize directory names
[fontconfig.git] / fontconfig / fontconfig.h
index 36982f43c9e8a25c0c3e508c33c8f241ac01b295..154959360b3493530b00c6d77984866ff02851e3 100644 (file)
@@ -46,7 +46,7 @@ typedef int           FcBool;
 
 #define FC_MAJOR       2
 #define FC_MINOR       3
-#define FC_REVISION    91
+#define FC_REVISION    93
 
 #define FC_VERSION     ((FC_MAJOR * 10000) + (FC_MINOR * 100) + (FC_REVISION))
 
@@ -102,7 +102,9 @@ typedef int         FcBool;
 #define FC_CAPABILITY       "capability"       /* String */
 #define FC_FONTFORMAT      "fontformat"        /* String */
 #define FC_EMBOLDEN        "embolden"          /* Bool - true if emboldening needed*/
+#define FC_EMBEDDED_BITMAP  "embeddedbitmap"   /* Bool - true to enable embedded bitmaps */
 
+#define FC_CACHE_SUFFIX                    ".cache-"FC_CACHE_VERSION
 #define FC_DIR_CACHE_FILE          "fonts.cache-"FC_CACHE_VERSION
 #define FC_USER_CACHE_FILE         ".fonts.cache-"FC_CACHE_VERSION
 
@@ -206,9 +208,6 @@ typedef struct _FcPattern   FcPattern;
 
 typedef struct _FcLangSet   FcLangSet;
 
-#define FC_BANK_DYNAMIC 0
-#define FC_BANK_FIRST 1
-
 typedef struct _FcValue {
     FcType     type;
     union {
@@ -223,7 +222,7 @@ typedef struct _FcValue {
        void            *f;
        const FcPattern *p;
        const FcLangSet *l;
-       int             l_off; // this is a difference of char *s
+       int             l_off; /* this is a difference of char *s */
     } u;
 } FcValue;
 
@@ -283,7 +282,7 @@ FcBool
 FcDirCacheHasCurrentArch (const FcChar8 *dir);
 
 FcBool
-FcDirCacheUnlink (const FcChar8 *dir);
+FcDirCacheUnlink (const FcChar8 *dir, FcConfig *config);
 
 /* fcblanks.c */
 FcBlanks *