/*
- * $XFree86: xc/lib/fontconfig/fontconfig/fontconfig.h,v 1.30 2002/09/26 00:17:27 keithp Exp $
+ * $RCSId: xc/lib/fontconfig/fontconfig/fontconfig.h,v 1.30 2002/09/26 00:17:27 keithp Exp $
*
- * Copyright © 2001 Keith Packard, member of The XFree86 Project, Inc.
+ * Copyright © 2001 Keith Packard
*
* Permission to use, copy, modify, distribute, and sell this software and its
* documentation for any purpose is hereby granted without fee, provided that
typedef int FcBool;
/*
- * Current Fontconfig version number
+ * Current Fontconfig version number. This same number
+ * must appear in the fontconfig configure.in file. Yes,
+ * it'a a pain to synchronize version numbers like this.
*/
-#define FC_MAJOR 1
-#define FC_MINOR 0
-#define FC_REVISION 3
+#define FC_MAJOR 2
+#define FC_MINOR 1
+#define FC_REVISION 92
#define FC_VERSION ((FC_MAJOR * 10000) + (FC_MINOR * 100) + (FC_REVISION))
FcBlanksIsMember (FcBlanks *b, FcChar32 ucs4);
/* fccfg.c */
+FcChar8 *
+FcConfigHome (void);
+
+FcBool
+FcConfigEnableHome (FcBool enable);
+
FcChar8 *
FcConfigFilename (const FcChar8 *url);
FcLangResult
FcLangSetCompare (const FcLangSet *lsa, const FcLangSet *lsb);
+FcBool
+FcLangSetContains (const FcLangSet *lsa, const FcLangSet *lsb);
+
FcBool
FcLangSetEqual (const FcLangSet *lsa, const FcLangSet *lsb);
FcChar8 *
FcStrCopyFilename (const FcChar8 *s);
-#define FcToLower(c) (('A' <= (c) && (c) <= 'Z') ? (c) - 'A' + 'a' : (c))
+#define FcIsUpper(c) (('A' <= (c) && (c) <= 'Z'))
+#define FcIsLower(c) (('a' <= (c) && (c) <= 'z'))
+#define FcToLower(c) (FcIsUpper(c) ? (c) - 'A' + 'a' : (c))
int
FcStrCmpIgnoreCase (const FcChar8 *s1, const FcChar8 *s2);