2002-02-15 00:34:13 +01:00
|
|
|
/*
|
2003-03-05 06:52:31 +01:00
|
|
|
* $RCSId: xc/lib/fontconfig/src/fcint.h,v 1.27 2002/08/31 22:17:32 keithp Exp $
|
2002-02-15 00:34:13 +01:00
|
|
|
*
|
2004-12-07 02:14:46 +01:00
|
|
|
* Copyright © 2000 Keith Packard
|
2002-02-15 00:34:13 +01:00
|
|
|
*
|
|
|
|
* Permission to use, copy, modify, distribute, and sell this software and its
|
|
|
|
* documentation for any purpose is hereby granted without fee, provided that
|
|
|
|
* the above copyright notice appear in all copies and that both that
|
|
|
|
* copyright notice and this permission notice appear in supporting
|
|
|
|
* documentation, and that the name of Keith Packard not be used in
|
|
|
|
* advertising or publicity pertaining to distribution of the software without
|
|
|
|
* specific, written prior permission. Keith Packard makes no
|
|
|
|
* representations about the suitability of this software for any purpose. It
|
|
|
|
* is provided "as is" without express or implied warranty.
|
|
|
|
*
|
|
|
|
* KEITH PACKARD DISCLAIMS ALL WARRANTIES WITH REGARD TO THIS SOFTWARE,
|
|
|
|
* INCLUDING ALL IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS, IN NO
|
|
|
|
* EVENT SHALL KEITH PACKARD BE LIABLE FOR ANY SPECIAL, INDIRECT OR
|
|
|
|
* CONSEQUENTIAL DAMAGES OR ANY DAMAGES WHATSOEVER RESULTING FROM LOSS OF USE,
|
|
|
|
* DATA OR PROFITS, WHETHER IN AN ACTION OF CONTRACT, NEGLIGENCE OR OTHER
|
|
|
|
* TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION WITH THE USE OR
|
|
|
|
* PERFORMANCE OF THIS SOFTWARE.
|
|
|
|
*/
|
|
|
|
|
|
|
|
#ifndef _FCINT_H_
|
|
|
|
#define _FCINT_H_
|
|
|
|
|
2006-04-07 19:06:55 +02:00
|
|
|
#ifdef HAVE_CONFIG_H
|
|
|
|
#include <config.h>
|
|
|
|
#endif
|
|
|
|
|
2002-02-15 00:34:13 +01:00
|
|
|
#include <stdlib.h>
|
|
|
|
#include <stdio.h>
|
2006-03-03 19:35:42 +01:00
|
|
|
#ifdef HAVE_INTTYPES_H
|
|
|
|
#include <inttypes.h>
|
2006-04-07 19:06:55 +02:00
|
|
|
#elif defined(HAVE_STDINT_H)
|
2005-11-16 16:55:17 +01:00
|
|
|
#include <stdint.h>
|
2006-04-07 19:06:55 +02:00
|
|
|
#else
|
|
|
|
#error missing C99 integer data types
|
2006-03-03 19:35:42 +01:00
|
|
|
#endif
|
2002-02-15 00:34:13 +01:00
|
|
|
#include <string.h>
|
|
|
|
#include <ctype.h>
|
|
|
|
#include <errno.h>
|
|
|
|
#include <unistd.h>
|
2008-01-02 17:47:14 +01:00
|
|
|
#include <stddef.h>
|
2002-02-15 00:34:13 +01:00
|
|
|
#include <sys/types.h>
|
|
|
|
#include <sys/stat.h>
|
2002-05-21 19:06:22 +02:00
|
|
|
#include <time.h>
|
2002-02-15 00:34:13 +01:00
|
|
|
#include <fontconfig/fontconfig.h>
|
2007-11-14 00:48:30 +01:00
|
|
|
#include <fontconfig/fcprivate.h>
|
2007-11-04 21:20:45 +01:00
|
|
|
#include "fcdeprecate.h"
|
2002-02-15 00:34:13 +01:00
|
|
|
|
|
|
|
#ifndef FC_CONFIG_PATH
|
|
|
|
#define FC_CONFIG_PATH "fonts.conf"
|
|
|
|
#endif
|
|
|
|
|
2003-03-22 22:25:34 +01:00
|
|
|
#ifdef _WIN32
|
|
|
|
#define FC_SEARCH_PATH_SEPARATOR ';'
|
|
|
|
#else
|
|
|
|
#define FC_SEARCH_PATH_SEPARATOR ':'
|
|
|
|
#endif
|
|
|
|
|
2002-02-15 00:34:13 +01:00
|
|
|
#define FC_DBG_MATCH 1
|
|
|
|
#define FC_DBG_MATCHV 2
|
|
|
|
#define FC_DBG_EDIT 4
|
|
|
|
#define FC_DBG_FONTSET 8
|
|
|
|
#define FC_DBG_CACHE 16
|
|
|
|
#define FC_DBG_CACHEV 32
|
|
|
|
#define FC_DBG_PARSE 64
|
|
|
|
#define FC_DBG_SCAN 128
|
2002-06-29 22:31:02 +02:00
|
|
|
#define FC_DBG_SCANV 256
|
2002-02-15 00:34:13 +01:00
|
|
|
#define FC_DBG_MEMORY 512
|
2004-12-05 06:03:52 +01:00
|
|
|
#define FC_DBG_CONFIG 1024
|
2006-08-30 13:16:22 +02:00
|
|
|
#define FC_DBG_LANGSET 2048
|
2006-09-01 10:15:14 +02:00
|
|
|
#define FC_DBG_OBJTYPES 4096
|
2002-02-15 00:34:13 +01:00
|
|
|
|
|
|
|
#define FC_MEM_CHARSET 0
|
2002-08-22 09:36:45 +02:00
|
|
|
#define FC_MEM_CHARLEAF 1
|
2002-02-15 00:34:13 +01:00
|
|
|
#define FC_MEM_FONTSET 2
|
|
|
|
#define FC_MEM_FONTPTR 3
|
|
|
|
#define FC_MEM_OBJECTSET 4
|
|
|
|
#define FC_MEM_OBJECTPTR 5
|
|
|
|
#define FC_MEM_MATRIX 6
|
|
|
|
#define FC_MEM_PATTERN 7
|
|
|
|
#define FC_MEM_PATELT 8
|
|
|
|
#define FC_MEM_VALLIST 9
|
|
|
|
#define FC_MEM_SUBSTATE 10
|
|
|
|
#define FC_MEM_STRING 11
|
|
|
|
#define FC_MEM_LISTBUCK 12
|
2002-08-22 09:36:45 +02:00
|
|
|
#define FC_MEM_STRSET 13
|
|
|
|
#define FC_MEM_STRLIST 14
|
|
|
|
#define FC_MEM_CONFIG 15
|
|
|
|
#define FC_MEM_LANGSET 16
|
2002-09-01 00:17:32 +02:00
|
|
|
#define FC_MEM_ATOMIC 17
|
|
|
|
#define FC_MEM_BLANKS 18
|
|
|
|
#define FC_MEM_CACHE 19
|
|
|
|
#define FC_MEM_STRBUF 20
|
|
|
|
#define FC_MEM_SUBST 21
|
|
|
|
#define FC_MEM_OBJECTTYPE 22
|
|
|
|
#define FC_MEM_CONSTANT 23
|
|
|
|
#define FC_MEM_TEST 24
|
|
|
|
#define FC_MEM_EXPR 25
|
|
|
|
#define FC_MEM_VSTACK 26
|
|
|
|
#define FC_MEM_ATTR 27
|
|
|
|
#define FC_MEM_PSTACK 28
|
2004-12-07 02:36:26 +01:00
|
|
|
#define FC_MEM_STATICSTR 29
|
2002-08-22 09:36:45 +02:00
|
|
|
|
2004-12-07 02:36:26 +01:00
|
|
|
#define FC_MEM_NUM 30
|
2002-02-15 00:34:13 +01:00
|
|
|
|
2005-11-24 22:40:20 +01:00
|
|
|
#define FC_BANK_DYNAMIC 0
|
|
|
|
#define FC_BANK_FIRST 1
|
2005-11-04 20:31:26 +01:00
|
|
|
#define FC_BANK_LANGS 0xfcfcfcfc
|
|
|
|
|
2006-09-04 09:47:07 +02:00
|
|
|
/* slim_internal.h */
|
2007-10-25 23:36:24 +02:00
|
|
|
#if (__GNUC__ > 3 || (__GNUC__ == 3 && __GNUC_MINOR__ >= 3)) && defined(__ELF__) && !defined(__sun)
|
2006-09-04 09:47:07 +02:00
|
|
|
#define FcPrivate __attribute__((__visibility__("hidden")))
|
2006-09-08 00:17:10 +02:00
|
|
|
#define HAVE_GNUC_ATTRIBUTE 1
|
|
|
|
#include "fcalias.h"
|
2006-09-04 09:47:07 +02:00
|
|
|
#elif defined(__SUNPRO_C) && (__SUNPRO_C >= 0x550)
|
|
|
|
#define FcPrivate __hidden
|
|
|
|
#else /* not gcc >= 3.3 and not Sun Studio >= 8 */
|
|
|
|
#define FcPrivate
|
|
|
|
#endif
|
|
|
|
|
2002-06-29 22:31:02 +02:00
|
|
|
typedef enum _FcValueBinding {
|
2003-02-12 19:22:12 +01:00
|
|
|
FcValueBindingWeak, FcValueBindingStrong, FcValueBindingSame
|
2002-06-29 22:31:02 +02:00
|
|
|
} FcValueBinding;
|
|
|
|
|
2006-08-30 13:16:22 +02:00
|
|
|
/*
|
|
|
|
* Serialized data structures use only offsets instead of pointers
|
|
|
|
* A low bit of 1 indicates an offset.
|
|
|
|
*/
|
|
|
|
|
|
|
|
/* Is the provided pointer actually an offset? */
|
|
|
|
#define FcIsEncodedOffset(p) ((((intptr_t) (p)) & 1) != 0)
|
2005-06-28 05:41:02 +02:00
|
|
|
|
2006-08-30 13:16:22 +02:00
|
|
|
/* Encode offset in a pointer of type t */
|
|
|
|
#define FcOffsetEncode(o,t) ((t *) ((o) | 1))
|
|
|
|
|
|
|
|
/* Decode a pointer into an offset */
|
|
|
|
#define FcOffsetDecode(p) (((intptr_t) (p)) & ~1)
|
|
|
|
|
|
|
|
/* Compute pointer offset */
|
|
|
|
#define FcPtrToOffset(b,p) ((intptr_t) (p) - (intptr_t) (b))
|
|
|
|
|
|
|
|
/* Given base address, offset and type, return a pointer */
|
|
|
|
#define FcOffsetToPtr(b,o,t) ((t *) ((intptr_t) (b) + (o)))
|
|
|
|
|
|
|
|
/* Given base address, encoded offset and type, return a pointer */
|
|
|
|
#define FcEncodedOffsetToPtr(b,p,t) FcOffsetToPtr(b,FcOffsetDecode(p),t)
|
2005-06-28 05:41:02 +02:00
|
|
|
|
2006-08-30 13:16:22 +02:00
|
|
|
/* Given base address, pointer and type, return an encoded offset */
|
|
|
|
#define FcPtrToEncodedOffset(b,p,t) FcOffsetEncode(FcPtrToOffset(b,p),t)
|
|
|
|
|
|
|
|
/* Given a structure, offset member and type, return pointer */
|
|
|
|
#define FcOffsetMember(s,m,t) FcOffsetToPtr(s,(s)->m,t)
|
|
|
|
|
|
|
|
/* Given a structure, encoded offset member and type, return pointer to member */
|
|
|
|
#define FcEncodedOffsetMember(s,m,t) FcOffsetToPtr(s,FcOffsetDecode((s)->m), t)
|
|
|
|
|
|
|
|
/* Given a structure, member and type, convert the member to a pointer */
|
|
|
|
#define FcPointerMember(s,m,t) (FcIsEncodedOffset((s)->m) ? \
|
|
|
|
FcEncodedOffsetMember (s,m,t) : \
|
|
|
|
(s)->m)
|
|
|
|
|
|
|
|
/*
|
|
|
|
* Serialized values may hold strings, charsets and langsets as pointers,
|
|
|
|
* unfortunately FcValue is an exposed type so we can't just always use
|
|
|
|
* offsets
|
|
|
|
*/
|
|
|
|
#define FcValueString(v) FcPointerMember(v,u.s,FcChar8)
|
|
|
|
#define FcValueCharSet(v) FcPointerMember(v,u.c,const FcCharSet)
|
|
|
|
#define FcValueLangSet(v) FcPointerMember(v,u.l,const FcLangSet)
|
|
|
|
|
|
|
|
typedef struct _FcValueList *FcValueListPtr;
|
|
|
|
|
|
|
|
typedef struct _FcValueList {
|
|
|
|
struct _FcValueList *next;
|
|
|
|
FcValue value;
|
|
|
|
FcValueBinding binding;
|
2002-02-15 00:34:13 +01:00
|
|
|
} FcValueList;
|
|
|
|
|
2006-08-30 13:16:22 +02:00
|
|
|
#define FcValueListNext(vl) FcPointerMember(vl,next,FcValueList)
|
|
|
|
|
|
|
|
typedef int FcObject;
|
2005-08-24 08:21:30 +02:00
|
|
|
|
2006-08-30 13:16:22 +02:00
|
|
|
typedef struct _FcPatternElt *FcPatternEltPtr;
|
2005-06-28 05:41:02 +02:00
|
|
|
|
2006-08-30 13:16:22 +02:00
|
|
|
/*
|
|
|
|
* Pattern elts are stuck in a structure connected to the pattern,
|
|
|
|
* so they get moved around when the pattern is resized. Hence, the
|
|
|
|
* values field must be a pointer/offset instead of just an offset
|
|
|
|
*/
|
2002-02-15 00:34:13 +01:00
|
|
|
typedef struct _FcPatternElt {
|
2006-08-30 13:16:22 +02:00
|
|
|
FcObject object;
|
|
|
|
FcValueList *values;
|
2002-02-15 00:34:13 +01:00
|
|
|
} FcPatternElt;
|
|
|
|
|
2006-08-30 13:16:22 +02:00
|
|
|
#define FcPatternEltValues(pe) FcPointerMember(pe,values,FcValueList)
|
|
|
|
|
2002-02-15 00:34:13 +01:00
|
|
|
struct _FcPattern {
|
|
|
|
int num;
|
|
|
|
int size;
|
2006-08-30 13:16:22 +02:00
|
|
|
intptr_t elts_offset;
|
2002-07-10 00:08:14 +02:00
|
|
|
int ref;
|
2002-02-15 00:34:13 +01:00
|
|
|
};
|
|
|
|
|
2006-08-30 13:16:22 +02:00
|
|
|
#define FcPatternElts(p) FcOffsetMember(p,elts_offset,FcPatternElt)
|
|
|
|
|
|
|
|
#define FcFontSetFonts(fs) FcPointerMember(fs,fonts,FcPattern *)
|
2006-08-30 22:51:03 +02:00
|
|
|
|
2006-08-30 13:16:22 +02:00
|
|
|
#define FcFontSetFont(fs,i) (FcIsEncodedOffset((fs)->fonts) ? \
|
2006-09-01 11:22:59 +02:00
|
|
|
FcEncodedOffsetToPtr(fs, \
|
2006-08-30 22:51:03 +02:00
|
|
|
FcFontSetFonts(fs)[i], \
|
|
|
|
FcPattern) : \
|
|
|
|
fs->fonts[i])
|
2006-08-30 13:16:22 +02:00
|
|
|
|
2002-02-15 00:34:13 +01:00
|
|
|
typedef enum _FcOp {
|
|
|
|
FcOpInteger, FcOpDouble, FcOpString, FcOpMatrix, FcOpBool, FcOpCharSet,
|
|
|
|
FcOpNil,
|
|
|
|
FcOpField, FcOpConst,
|
|
|
|
FcOpAssign, FcOpAssignReplace,
|
|
|
|
FcOpPrependFirst, FcOpPrepend, FcOpAppend, FcOpAppendLast,
|
|
|
|
FcOpQuest,
|
2003-07-20 18:06:18 +02:00
|
|
|
FcOpOr, FcOpAnd, FcOpEqual, FcOpNotEqual,
|
|
|
|
FcOpContains, FcOpListing, FcOpNotContains,
|
2002-02-15 00:34:13 +01:00
|
|
|
FcOpLess, FcOpLessEqual, FcOpMore, FcOpMoreEqual,
|
|
|
|
FcOpPlus, FcOpMinus, FcOpTimes, FcOpDivide,
|
2003-04-16 01:38:06 +02:00
|
|
|
FcOpNot, FcOpComma, FcOpFloor, FcOpCeil, FcOpRound, FcOpTrunc,
|
|
|
|
FcOpInvalid
|
2002-02-15 00:34:13 +01:00
|
|
|
} FcOp;
|
|
|
|
|
|
|
|
typedef struct _FcExpr {
|
|
|
|
FcOp op;
|
|
|
|
union {
|
|
|
|
int ival;
|
|
|
|
double dval;
|
2002-02-15 07:01:28 +01:00
|
|
|
FcChar8 *sval;
|
2002-02-15 00:34:13 +01:00
|
|
|
FcMatrix *mval;
|
|
|
|
FcBool bval;
|
|
|
|
FcCharSet *cval;
|
2006-08-30 13:16:22 +02:00
|
|
|
FcObject object;
|
2002-02-15 07:01:28 +01:00
|
|
|
FcChar8 *constant;
|
2002-02-15 00:34:13 +01:00
|
|
|
struct {
|
|
|
|
struct _FcExpr *left, *right;
|
|
|
|
} tree;
|
|
|
|
} u;
|
|
|
|
} FcExpr;
|
|
|
|
|
|
|
|
typedef enum _FcQual {
|
2002-06-19 22:08:22 +02:00
|
|
|
FcQualAny, FcQualAll, FcQualFirst, FcQualNotFirst
|
2002-02-15 00:34:13 +01:00
|
|
|
} FcQual;
|
|
|
|
|
2002-08-11 20:11:04 +02:00
|
|
|
#define FcMatchDefault ((FcMatchKind) -1)
|
|
|
|
|
2002-02-15 00:34:13 +01:00
|
|
|
typedef struct _FcTest {
|
|
|
|
struct _FcTest *next;
|
2002-08-11 20:11:04 +02:00
|
|
|
FcMatchKind kind;
|
2002-02-15 00:34:13 +01:00
|
|
|
FcQual qual;
|
2006-08-30 13:16:22 +02:00
|
|
|
FcObject object;
|
2002-02-15 00:34:13 +01:00
|
|
|
FcOp op;
|
|
|
|
FcExpr *expr;
|
|
|
|
} FcTest;
|
|
|
|
|
|
|
|
typedef struct _FcEdit {
|
|
|
|
struct _FcEdit *next;
|
2006-08-30 13:16:22 +02:00
|
|
|
FcObject object;
|
2002-02-15 00:34:13 +01:00
|
|
|
FcOp op;
|
|
|
|
FcExpr *expr;
|
2002-07-31 03:36:37 +02:00
|
|
|
FcValueBinding binding;
|
2002-02-15 00:34:13 +01:00
|
|
|
} FcEdit;
|
|
|
|
|
|
|
|
typedef struct _FcSubst {
|
|
|
|
struct _FcSubst *next;
|
|
|
|
FcTest *test;
|
|
|
|
FcEdit *edit;
|
|
|
|
} FcSubst;
|
|
|
|
|
2002-05-31 06:42:42 +02:00
|
|
|
typedef struct _FcCharLeaf {
|
2002-02-15 00:34:13 +01:00
|
|
|
FcChar32 map[256/32];
|
2002-05-31 06:42:42 +02:00
|
|
|
} FcCharLeaf;
|
2002-02-15 00:34:13 +01:00
|
|
|
|
2002-08-22 09:36:45 +02:00
|
|
|
#define FC_REF_CONSTANT -1
|
2002-07-07 01:47:44 +02:00
|
|
|
|
2002-02-15 00:34:13 +01:00
|
|
|
struct _FcCharSet {
|
|
|
|
int ref; /* reference count */
|
2002-05-31 06:42:42 +02:00
|
|
|
int num; /* size of leaves and numbers arrays */
|
2006-08-30 13:16:22 +02:00
|
|
|
intptr_t leaves_offset;
|
|
|
|
intptr_t numbers_offset;
|
2002-02-15 00:34:13 +01:00
|
|
|
};
|
|
|
|
|
2006-08-30 13:16:22 +02:00
|
|
|
#define FcCharSetLeaves(c) FcOffsetMember(c,leaves_offset,intptr_t)
|
|
|
|
#define FcCharSetLeaf(c,i) (FcOffsetToPtr(FcCharSetLeaves(c), \
|
|
|
|
FcCharSetLeaves(c)[i], \
|
|
|
|
FcCharLeaf))
|
|
|
|
#define FcCharSetNumbers(c) FcOffsetMember(c,numbers_offset,FcChar16)
|
|
|
|
|
2002-05-21 19:06:22 +02:00
|
|
|
struct _FcStrSet {
|
|
|
|
int ref; /* reference count */
|
|
|
|
int num;
|
|
|
|
int size;
|
2005-08-24 08:21:30 +02:00
|
|
|
FcChar8 **strs;
|
2002-05-21 19:06:22 +02:00
|
|
|
};
|
|
|
|
|
|
|
|
struct _FcStrList {
|
|
|
|
FcStrSet *set;
|
|
|
|
int n;
|
|
|
|
};
|
|
|
|
|
2002-02-18 23:29:28 +01:00
|
|
|
typedef struct _FcStrBuf {
|
2002-02-15 00:34:13 +01:00
|
|
|
FcChar8 *buf;
|
|
|
|
FcBool allocated;
|
|
|
|
FcBool failed;
|
|
|
|
int len;
|
|
|
|
int size;
|
2002-02-18 23:29:28 +01:00
|
|
|
} FcStrBuf;
|
2002-02-15 00:34:13 +01:00
|
|
|
|
2006-09-04 09:47:07 +02:00
|
|
|
struct _FcCache {
|
2006-09-01 10:15:14 +02:00
|
|
|
int magic; /* FC_CACHE_MAGIC_MMAP or FC_CACHE_ALLOC */
|
|
|
|
int version; /* FC_CACHE_CONTENT_VERSION */
|
2006-08-31 08:09:39 +02:00
|
|
|
intptr_t size; /* size of file */
|
2006-08-30 13:16:22 +02:00
|
|
|
intptr_t dir; /* offset to dir name */
|
|
|
|
intptr_t dirs; /* offset to subdirs */
|
|
|
|
int dirs_count; /* number of subdir strings */
|
|
|
|
intptr_t set; /* offset to font set */
|
2007-10-18 13:13:51 +02:00
|
|
|
int mtime; /* low bits of directory mtime */
|
2006-09-04 09:47:07 +02:00
|
|
|
};
|
2005-07-25 06:10:09 +02:00
|
|
|
|
2006-09-05 11:24:01 +02:00
|
|
|
#undef FcCacheDir
|
|
|
|
#undef FcCacheSubdir
|
2006-08-30 13:16:22 +02:00
|
|
|
#define FcCacheDir(c) FcOffsetMember(c,dir,FcChar8)
|
|
|
|
#define FcCacheDirs(c) FcOffsetMember(c,dirs,intptr_t)
|
|
|
|
#define FcCacheSet(c) FcOffsetMember(c,set,FcFontSet)
|
2006-09-04 09:47:07 +02:00
|
|
|
#define FcCacheSubdir(c,i) FcOffsetToPtr (FcCacheDirs(c),\
|
|
|
|
FcCacheDirs(c)[i], \
|
2006-09-01 10:15:14 +02:00
|
|
|
FcChar8)
|
2006-08-30 13:16:22 +02:00
|
|
|
|
|
|
|
/*
|
|
|
|
* Used while constructing a directory cache object
|
|
|
|
*/
|
|
|
|
|
|
|
|
#define FC_SERIALIZE_HASH_SIZE 8191
|
|
|
|
|
|
|
|
typedef struct _FcSerializeBucket {
|
|
|
|
struct _FcSerializeBucket *next;
|
|
|
|
const void *object;
|
|
|
|
intptr_t offset;
|
|
|
|
} FcSerializeBucket;
|
|
|
|
|
2006-09-01 10:15:14 +02:00
|
|
|
typedef struct _FcCharSetFreezer FcCharSetFreezer;
|
|
|
|
|
2006-08-30 13:16:22 +02:00
|
|
|
typedef struct _FcSerialize {
|
|
|
|
intptr_t size;
|
2006-09-01 10:15:14 +02:00
|
|
|
FcCharSetFreezer *cs_freezer;
|
2006-08-30 13:16:22 +02:00
|
|
|
void *linear;
|
|
|
|
FcSerializeBucket *buckets[FC_SERIALIZE_HASH_SIZE];
|
|
|
|
} FcSerialize;
|
|
|
|
|
2003-05-05 00:53:49 +02:00
|
|
|
/*
|
|
|
|
* To map adobe glyph names to unicode values, a precomputed hash
|
|
|
|
* table is used
|
|
|
|
*/
|
|
|
|
|
|
|
|
typedef struct _FcGlyphName {
|
|
|
|
FcChar32 ucs; /* unicode value */
|
|
|
|
FcChar8 name[1]; /* name extends beyond struct */
|
|
|
|
} FcGlyphName;
|
|
|
|
|
2004-12-29 10:15:17 +01:00
|
|
|
/*
|
|
|
|
* To perform case-insensitive string comparisons, a table
|
|
|
|
* is used which holds three different kinds of folding data.
|
|
|
|
*
|
|
|
|
* The first is a range of upper case values mapping to a range
|
|
|
|
* of their lower case equivalents. Within each range, the offset
|
|
|
|
* between upper and lower case is constant.
|
|
|
|
*
|
|
|
|
* The second is a range of upper case values which are interleaved
|
|
|
|
* with their lower case equivalents.
|
|
|
|
*
|
|
|
|
* The third is a set of raw unicode values mapping to a list
|
|
|
|
* of unicode values for comparison purposes. This allows conversion
|
|
|
|
* of ß to "ss" so that SS, ss and ß all match. A separate array
|
|
|
|
* holds the list of unicode values for each entry.
|
|
|
|
*
|
|
|
|
* These are packed into a single table. Using a binary search,
|
|
|
|
* the appropriate entry can be located.
|
|
|
|
*/
|
|
|
|
|
|
|
|
#define FC_CASE_FOLD_RANGE 0
|
|
|
|
#define FC_CASE_FOLD_EVEN_ODD 1
|
|
|
|
#define FC_CASE_FOLD_FULL 2
|
|
|
|
|
|
|
|
typedef struct _FcCaseFold {
|
|
|
|
FcChar32 upper;
|
|
|
|
FcChar16 method : 2;
|
|
|
|
FcChar16 count : 14;
|
|
|
|
short offset; /* lower - upper for RANGE, table id for FULL */
|
|
|
|
} FcCaseFold;
|
|
|
|
|
2004-12-05 06:03:52 +01:00
|
|
|
#define FC_MAX_FILE_LEN 4096
|
|
|
|
|
2006-08-30 13:16:22 +02:00
|
|
|
/* XXX remove these when we're ready */
|
|
|
|
|
|
|
|
#define fc_value_string(v) FcValueString(v)
|
|
|
|
#define fc_value_charset(v) FcValueCharSet(v)
|
|
|
|
#define fc_value_langset(v) FcValueLangSet(v)
|
|
|
|
#define fc_storage_type(v) ((v)->type)
|
2005-08-24 08:21:30 +02:00
|
|
|
|
2006-04-07 19:27:39 +02:00
|
|
|
#define fc_alignof(type) offsetof (struct { char c; type member; }, member)
|
|
|
|
|
2006-09-01 10:15:14 +02:00
|
|
|
#define FC_CACHE_MAGIC_MMAP 0xFC02FC04
|
|
|
|
#define FC_CACHE_MAGIC_ALLOC 0xFC02FC05
|
2007-10-18 13:13:51 +02:00
|
|
|
#define FC_CACHE_CONTENT_VERSION 2
|
2002-07-28 12:50:59 +02:00
|
|
|
|
2002-03-01 23:06:30 +01:00
|
|
|
struct _FcAtomic {
|
|
|
|
FcChar8 *file; /* original file name */
|
|
|
|
FcChar8 *new; /* temp file name -- write data here */
|
|
|
|
FcChar8 *lck; /* lockfile name (used for locking) */
|
|
|
|
FcChar8 *tmp; /* tmpfile name (used for locking) */
|
|
|
|
};
|
|
|
|
|
2002-02-15 00:34:13 +01:00
|
|
|
struct _FcBlanks {
|
|
|
|
int nblank;
|
|
|
|
int sblank;
|
|
|
|
FcChar32 *blanks;
|
|
|
|
};
|
|
|
|
|
|
|
|
struct _FcConfig {
|
|
|
|
/*
|
|
|
|
* File names loaded from the configuration -- saved here as the
|
|
|
|
* cache file must be consulted before the directories are scanned,
|
|
|
|
* and those directives may occur in any order
|
|
|
|
*/
|
2002-05-21 19:06:22 +02:00
|
|
|
FcStrSet *configDirs; /* directories to scan for fonts */
|
2002-02-15 00:34:13 +01:00
|
|
|
/*
|
|
|
|
* Set of allowed blank chars -- used to
|
|
|
|
* trim fonts of bogus glyphs
|
|
|
|
*/
|
|
|
|
FcBlanks *blanks;
|
2002-05-21 19:06:22 +02:00
|
|
|
/*
|
|
|
|
* List of directories containing fonts,
|
|
|
|
* built by recursively scanning the set
|
|
|
|
* of configured directories
|
|
|
|
*/
|
|
|
|
FcStrSet *fontDirs;
|
2006-08-04 18:13:00 +02:00
|
|
|
/*
|
|
|
|
* List of directories containing cache files.
|
|
|
|
*/
|
|
|
|
FcStrSet *cacheDirs;
|
2002-02-15 00:34:13 +01:00
|
|
|
/*
|
|
|
|
* Names of all of the configuration files used
|
|
|
|
* to create this configuration
|
|
|
|
*/
|
2002-05-21 19:06:22 +02:00
|
|
|
FcStrSet *configFiles; /* config files loaded */
|
2002-02-15 00:34:13 +01:00
|
|
|
/*
|
|
|
|
* Substitution instructions for patterns and fonts;
|
|
|
|
* maxObjects is used to allocate appropriate intermediate storage
|
|
|
|
* while performing a whole set of substitutions
|
|
|
|
*/
|
|
|
|
FcSubst *substPattern; /* substitutions for patterns */
|
|
|
|
FcSubst *substFont; /* substitutions for fonts */
|
2006-09-03 02:52:12 +02:00
|
|
|
FcSubst *substScan; /* substitutions for scanned fonts */
|
2002-02-15 00:34:13 +01:00
|
|
|
int maxObjects; /* maximum number of tests in all substs */
|
2003-05-07 18:13:24 +02:00
|
|
|
/*
|
|
|
|
* List of patterns used to control font file selection
|
|
|
|
*/
|
|
|
|
FcStrSet *acceptGlobs;
|
|
|
|
FcStrSet *rejectGlobs;
|
2004-12-04 20:41:10 +01:00
|
|
|
FcFontSet *acceptPatterns;
|
|
|
|
FcFontSet *rejectPatterns;
|
2002-02-15 00:34:13 +01:00
|
|
|
/*
|
|
|
|
* The set of fonts loaded from the listed directories; the
|
|
|
|
* order within the set does not determine the font selection,
|
|
|
|
* except in the case of identical matches in which case earlier fonts
|
|
|
|
* match preferrentially
|
|
|
|
*/
|
|
|
|
FcFontSet *fonts[FcSetApplication + 1];
|
2002-05-21 19:06:22 +02:00
|
|
|
/*
|
|
|
|
* Fontconfig can periodically rescan the system configuration
|
|
|
|
* and font directories. This rescanning occurs when font
|
|
|
|
* listing requests are made, but no more often than rescanInterval
|
|
|
|
* seconds apart.
|
|
|
|
*/
|
|
|
|
time_t rescanTime; /* last time information was scanned */
|
|
|
|
int rescanInterval; /* interval between scans */
|
2002-02-15 00:34:13 +01:00
|
|
|
};
|
|
|
|
|
2006-09-04 09:47:07 +02:00
|
|
|
extern FcPrivate FcConfig *_fcConfig;
|
2002-02-19 09:33:23 +01:00
|
|
|
|
2005-11-02 07:29:14 +01:00
|
|
|
typedef struct _FcFileTime {
|
|
|
|
time_t time;
|
|
|
|
FcBool set;
|
|
|
|
} FcFileTime;
|
|
|
|
|
2002-07-13 07:43:25 +02:00
|
|
|
typedef struct _FcCharMap FcCharMap;
|
|
|
|
|
2006-04-07 19:27:39 +02:00
|
|
|
/* watch out; assumes that v is void * -PL */
|
|
|
|
#define ALIGN(v,type) ((void *)(((uintptr_t)(v) + fc_alignof(type) - 1) & ~(fc_alignof(type) - 1)))
|
2005-11-16 16:55:17 +01:00
|
|
|
|
2002-02-15 00:34:13 +01:00
|
|
|
/* fcblanks.c */
|
|
|
|
|
|
|
|
/* fccache.c */
|
|
|
|
|
2006-09-04 09:47:07 +02:00
|
|
|
FcPrivate FcCache *
|
2006-09-01 10:15:14 +02:00
|
|
|
FcDirCacheScan (const FcChar8 *dir, FcConfig *config);
|
|
|
|
|
2006-09-04 09:47:07 +02:00
|
|
|
FcPrivate FcCache *
|
2007-10-18 13:13:51 +02:00
|
|
|
FcDirCacheBuild (FcFontSet *set, const FcChar8 *dir, struct stat *dir_stat, FcStrSet *dirs);
|
2006-09-01 10:15:14 +02:00
|
|
|
|
2006-09-04 09:47:07 +02:00
|
|
|
FcPrivate FcBool
|
2006-09-01 10:15:14 +02:00
|
|
|
FcDirCacheWrite (FcCache *cache, FcConfig *config);
|
|
|
|
|
2006-09-05 07:20:25 +02:00
|
|
|
FcPrivate void
|
|
|
|
FcCacheObjectReference (void *object);
|
|
|
|
|
|
|
|
FcPrivate void
|
|
|
|
FcCacheObjectDereference (void *object);
|
|
|
|
|
2006-09-04 22:59:58 +02:00
|
|
|
FcPrivate void
|
|
|
|
FcCacheFini (void);
|
|
|
|
|
2006-09-05 11:24:01 +02:00
|
|
|
FcPrivate void
|
2006-09-05 07:26:24 +02:00
|
|
|
FcDirCacheReference (FcCache *cache, int nref);
|
|
|
|
|
2002-02-15 00:34:13 +01:00
|
|
|
/* fccfg.c */
|
|
|
|
|
2006-09-04 09:47:07 +02:00
|
|
|
FcPrivate FcBool
|
2002-05-21 19:06:22 +02:00
|
|
|
FcConfigAddConfigDir (FcConfig *config,
|
|
|
|
const FcChar8 *d);
|
|
|
|
|
2006-09-04 09:47:07 +02:00
|
|
|
FcPrivate FcBool
|
2002-05-21 19:06:22 +02:00
|
|
|
FcConfigAddFontDir (FcConfig *config,
|
|
|
|
const FcChar8 *d);
|
|
|
|
|
2006-09-04 09:47:07 +02:00
|
|
|
FcPrivate FcBool
|
2002-02-15 07:01:28 +01:00
|
|
|
FcConfigAddDir (FcConfig *config,
|
|
|
|
const FcChar8 *d);
|
2002-02-15 00:34:13 +01:00
|
|
|
|
2006-09-04 09:47:07 +02:00
|
|
|
FcPrivate FcBool
|
2006-08-04 18:13:00 +02:00
|
|
|
FcConfigAddCacheDir (FcConfig *config,
|
|
|
|
const FcChar8 *d);
|
|
|
|
|
2006-09-04 09:47:07 +02:00
|
|
|
FcPrivate FcBool
|
2002-02-15 07:01:28 +01:00
|
|
|
FcConfigAddConfigFile (FcConfig *config,
|
|
|
|
const FcChar8 *f);
|
2002-02-15 00:34:13 +01:00
|
|
|
|
2006-09-04 09:47:07 +02:00
|
|
|
FcPrivate FcBool
|
2002-02-15 00:34:13 +01:00
|
|
|
FcConfigAddBlank (FcConfig *config,
|
|
|
|
FcChar32 blank);
|
|
|
|
|
2006-09-04 09:47:07 +02:00
|
|
|
FcPrivate FcBool
|
2002-02-15 00:34:13 +01:00
|
|
|
FcConfigAddEdit (FcConfig *config,
|
|
|
|
FcTest *test,
|
|
|
|
FcEdit *edit,
|
|
|
|
FcMatchKind kind);
|
|
|
|
|
2006-09-04 09:47:07 +02:00
|
|
|
FcPrivate void
|
2002-02-15 00:34:13 +01:00
|
|
|
FcConfigSetFonts (FcConfig *config,
|
|
|
|
FcFontSet *fonts,
|
|
|
|
FcSetName set);
|
|
|
|
|
2006-09-04 09:47:07 +02:00
|
|
|
FcPrivate FcBool
|
2005-08-24 08:21:30 +02:00
|
|
|
FcConfigCompareValue (const FcValue *m,
|
2002-02-15 00:34:13 +01:00
|
|
|
FcOp op,
|
2005-08-24 08:21:30 +02:00
|
|
|
const FcValue *v);
|
2002-02-15 00:34:13 +01:00
|
|
|
|
2006-09-04 09:47:07 +02:00
|
|
|
FcPrivate FcBool
|
2003-05-07 18:13:24 +02:00
|
|
|
FcConfigGlobAdd (FcConfig *config,
|
|
|
|
const FcChar8 *glob,
|
|
|
|
FcBool accept);
|
|
|
|
|
2006-09-04 09:47:07 +02:00
|
|
|
FcPrivate FcBool
|
2003-05-07 18:13:24 +02:00
|
|
|
FcConfigAcceptFilename (FcConfig *config,
|
|
|
|
const FcChar8 *filename);
|
|
|
|
|
2006-09-04 09:47:07 +02:00
|
|
|
FcPrivate FcBool
|
2004-12-04 20:41:10 +01:00
|
|
|
FcConfigPatternsAdd (FcConfig *config,
|
|
|
|
FcPattern *pattern,
|
|
|
|
FcBool accept);
|
|
|
|
|
2006-09-04 09:47:07 +02:00
|
|
|
FcPrivate FcBool
|
2004-12-04 20:41:10 +01:00
|
|
|
FcConfigAcceptFont (FcConfig *config,
|
|
|
|
const FcPattern *font);
|
|
|
|
|
2006-09-04 09:47:07 +02:00
|
|
|
FcPrivate FcFileTime
|
2005-11-02 07:29:14 +01:00
|
|
|
FcConfigModifiedTime (FcConfig *config);
|
|
|
|
|
2006-09-04 09:47:07 +02:00
|
|
|
FcPrivate FcBool
|
2006-09-15 09:23:40 +02:00
|
|
|
FcConfigAddCache (FcConfig *config, FcCache *cache,
|
|
|
|
FcSetName set, FcStrSet *dirSet);
|
2006-08-31 06:59:53 +02:00
|
|
|
|
|
|
|
/* fcserialize.c */
|
2006-09-04 09:47:07 +02:00
|
|
|
FcPrivate intptr_t
|
2006-08-30 13:16:22 +02:00
|
|
|
FcAlignSize (intptr_t size);
|
|
|
|
|
2006-09-04 09:47:07 +02:00
|
|
|
FcPrivate FcSerialize *
|
2006-08-30 13:16:22 +02:00
|
|
|
FcSerializeCreate (void);
|
|
|
|
|
2006-09-04 09:47:07 +02:00
|
|
|
FcPrivate void
|
2006-08-30 13:16:22 +02:00
|
|
|
FcSerializeDestroy (FcSerialize *serialize);
|
|
|
|
|
2006-09-04 09:47:07 +02:00
|
|
|
FcPrivate FcBool
|
2006-08-30 13:16:22 +02:00
|
|
|
FcSerializeAlloc (FcSerialize *serialize, const void *object, int size);
|
|
|
|
|
2006-09-04 09:47:07 +02:00
|
|
|
FcPrivate intptr_t
|
2006-08-30 13:16:22 +02:00
|
|
|
FcSerializeReserve (FcSerialize *serialize, int size);
|
|
|
|
|
2006-09-04 09:47:07 +02:00
|
|
|
FcPrivate intptr_t
|
2006-08-30 13:16:22 +02:00
|
|
|
FcSerializeOffset (FcSerialize *serialize, const void *object);
|
|
|
|
|
2006-09-04 09:47:07 +02:00
|
|
|
FcPrivate void *
|
2006-08-30 13:16:22 +02:00
|
|
|
FcSerializePtr (FcSerialize *serialize, const void *object);
|
|
|
|
|
2006-09-04 09:47:07 +02:00
|
|
|
FcPrivate FcBool
|
2006-08-30 13:16:22 +02:00
|
|
|
FcLangSetSerializeAlloc (FcSerialize *serialize, const FcLangSet *l);
|
|
|
|
|
2006-09-04 09:47:07 +02:00
|
|
|
FcPrivate FcLangSet *
|
2006-08-30 13:16:22 +02:00
|
|
|
FcLangSetSerialize(FcSerialize *serialize, const FcLangSet *l);
|
|
|
|
|
2002-02-15 00:34:13 +01:00
|
|
|
/* fccharset.c */
|
2006-09-04 09:47:07 +02:00
|
|
|
FcPrivate void
|
2005-11-04 20:31:26 +01:00
|
|
|
FcLangCharSetPopulate (void);
|
|
|
|
|
2006-09-04 09:47:07 +02:00
|
|
|
FcPrivate FcCharSetFreezer *
|
2006-09-01 10:49:47 +02:00
|
|
|
FcCharSetFreezerCreate (void);
|
|
|
|
|
2006-09-04 09:47:07 +02:00
|
|
|
FcPrivate const FcCharSet *
|
2006-09-01 10:49:47 +02:00
|
|
|
FcCharSetFreeze (FcCharSetFreezer *freezer, const FcCharSet *fcs);
|
|
|
|
|
2006-09-04 09:47:07 +02:00
|
|
|
FcPrivate void
|
2006-09-01 10:15:14 +02:00
|
|
|
FcCharSetFreezerDestroy (FcCharSetFreezer *freezer);
|
2003-08-15 21:45:20 +02:00
|
|
|
|
2006-09-04 09:47:07 +02:00
|
|
|
FcPrivate FcBool
|
2002-02-18 23:29:28 +01:00
|
|
|
FcNameUnparseCharSet (FcStrBuf *buf, const FcCharSet *c);
|
2002-02-15 00:34:13 +01:00
|
|
|
|
2006-09-04 09:47:07 +02:00
|
|
|
FcPrivate FcCharSet *
|
2002-02-15 00:34:13 +01:00
|
|
|
FcNameParseCharSet (FcChar8 *string);
|
|
|
|
|
2006-09-04 09:47:07 +02:00
|
|
|
FcPrivate FcCharLeaf *
|
2003-02-06 18:46:06 +01:00
|
|
|
FcCharSetFindLeafCreate (FcCharSet *fcs, FcChar32 ucs4);
|
2002-07-13 07:43:25 +02:00
|
|
|
|
2006-09-04 09:47:07 +02:00
|
|
|
FcPrivate FcBool
|
2006-08-30 13:16:22 +02:00
|
|
|
FcCharSetSerializeAlloc(FcSerialize *serialize, const FcCharSet *cs);
|
2005-06-28 05:41:02 +02:00
|
|
|
|
2006-09-04 09:47:07 +02:00
|
|
|
FcPrivate FcCharSet *
|
2006-08-30 13:16:22 +02:00
|
|
|
FcCharSetSerialize(FcSerialize *serialize, const FcCharSet *cs);
|
2005-06-28 05:41:02 +02:00
|
|
|
|
2006-09-04 09:47:07 +02:00
|
|
|
FcPrivate FcChar16 *
|
2005-06-28 05:41:02 +02:00
|
|
|
FcCharSetGetNumbers(const FcCharSet *c);
|
|
|
|
|
2002-02-15 00:34:13 +01:00
|
|
|
/* fcdbg.c */
|
2006-09-04 09:47:07 +02:00
|
|
|
FcPrivate void
|
2005-06-28 05:41:02 +02:00
|
|
|
FcValueListPrint (const FcValueListPtr l);
|
2002-02-15 00:34:13 +01:00
|
|
|
|
2006-09-04 09:47:07 +02:00
|
|
|
FcPrivate void
|
2003-03-05 06:52:31 +01:00
|
|
|
FcLangSetPrint (const FcLangSet *ls);
|
|
|
|
|
2006-09-04 09:47:07 +02:00
|
|
|
FcPrivate void
|
2002-02-15 00:34:13 +01:00
|
|
|
FcOpPrint (FcOp op);
|
|
|
|
|
2006-09-04 09:47:07 +02:00
|
|
|
FcPrivate void
|
2002-08-11 20:11:04 +02:00
|
|
|
FcTestPrint (const FcTest *test);
|
2002-02-15 00:34:13 +01:00
|
|
|
|
2006-09-04 09:47:07 +02:00
|
|
|
FcPrivate void
|
2002-08-11 20:11:04 +02:00
|
|
|
FcExprPrint (const FcExpr *expr);
|
2002-02-15 00:34:13 +01:00
|
|
|
|
2006-09-04 09:47:07 +02:00
|
|
|
FcPrivate void
|
2002-08-11 20:11:04 +02:00
|
|
|
FcEditPrint (const FcEdit *edit);
|
2002-02-15 00:34:13 +01:00
|
|
|
|
2006-09-04 09:47:07 +02:00
|
|
|
FcPrivate void
|
2002-08-11 20:11:04 +02:00
|
|
|
FcSubstPrint (const FcSubst *subst);
|
2002-02-15 00:34:13 +01:00
|
|
|
|
2006-09-04 09:47:07 +02:00
|
|
|
FcPrivate void
|
2006-08-30 13:16:22 +02:00
|
|
|
FcCharSetPrint (const FcCharSet *c);
|
|
|
|
|
2006-09-04 09:47:07 +02:00
|
|
|
extern FcPrivate int FcDebugVal;
|
2005-11-24 20:38:05 +01:00
|
|
|
|
2006-09-04 09:47:07 +02:00
|
|
|
#define FcDebug() (FcDebugVal)
|
2005-11-24 20:38:05 +01:00
|
|
|
|
2006-09-04 09:47:07 +02:00
|
|
|
FcPrivate void
|
2005-11-24 20:38:05 +01:00
|
|
|
FcInitDebug (void);
|
2002-02-15 00:34:13 +01:00
|
|
|
|
2005-10-22 16:21:14 +02:00
|
|
|
/* fcdefault.c */
|
2006-09-04 09:47:07 +02:00
|
|
|
FcPrivate FcChar8 *
|
2005-10-22 16:21:14 +02:00
|
|
|
FcGetDefaultLang (void);
|
|
|
|
|
2002-02-15 00:34:13 +01:00
|
|
|
/* fcdir.c */
|
|
|
|
|
2006-09-04 09:47:07 +02:00
|
|
|
FcPrivate FcBool
|
2003-05-07 18:13:24 +02:00
|
|
|
FcFileScanConfig (FcFontSet *set,
|
|
|
|
FcStrSet *dirs,
|
|
|
|
FcBlanks *blanks,
|
|
|
|
const FcChar8 *file,
|
|
|
|
FcConfig *config);
|
|
|
|
|
2006-09-04 09:47:07 +02:00
|
|
|
FcPrivate FcBool
|
2003-05-07 18:13:24 +02:00
|
|
|
FcDirScanConfig (FcFontSet *set,
|
|
|
|
FcStrSet *dirs,
|
|
|
|
FcBlanks *blanks,
|
2006-09-01 10:15:14 +02:00
|
|
|
const FcChar8 *dir,
|
2003-05-07 18:13:24 +02:00
|
|
|
FcBool force,
|
|
|
|
FcConfig *config);
|
|
|
|
|
2002-02-15 00:34:13 +01:00
|
|
|
/* fcfont.c */
|
2006-09-04 09:47:07 +02:00
|
|
|
FcPrivate int
|
2002-02-15 00:34:13 +01:00
|
|
|
FcFontDebug (void);
|
|
|
|
|
|
|
|
/* fcfs.c */
|
2005-06-28 05:41:02 +02:00
|
|
|
|
2006-09-04 09:47:07 +02:00
|
|
|
FcPrivate FcBool
|
2006-08-30 13:16:22 +02:00
|
|
|
FcFontSetSerializeAlloc (FcSerialize *serialize, const FcFontSet *s);
|
2005-07-25 06:10:09 +02:00
|
|
|
|
2006-09-04 09:47:07 +02:00
|
|
|
FcPrivate FcFontSet *
|
2006-08-30 13:16:22 +02:00
|
|
|
FcFontSetSerialize (FcSerialize *serialize, const FcFontSet * s);
|
|
|
|
|
2002-02-15 00:34:13 +01:00
|
|
|
/* fcgram.y */
|
2006-09-04 09:47:07 +02:00
|
|
|
FcPrivate int
|
2002-02-15 00:34:13 +01:00
|
|
|
FcConfigparse (void);
|
|
|
|
|
2006-09-04 09:47:07 +02:00
|
|
|
FcPrivate int
|
2002-02-15 00:34:13 +01:00
|
|
|
FcConfigwrap (void);
|
|
|
|
|
2006-09-04 09:47:07 +02:00
|
|
|
FcPrivate void
|
2002-02-15 00:34:13 +01:00
|
|
|
FcConfigerror (char *fmt, ...);
|
|
|
|
|
2006-09-04 09:47:07 +02:00
|
|
|
FcPrivate char *
|
2002-02-15 00:34:13 +01:00
|
|
|
FcConfigSaveField (const char *field);
|
|
|
|
|
2006-09-04 09:47:07 +02:00
|
|
|
FcPrivate void
|
2002-02-15 00:34:13 +01:00
|
|
|
FcTestDestroy (FcTest *test);
|
|
|
|
|
2006-09-04 09:47:07 +02:00
|
|
|
FcPrivate FcExpr *
|
2002-02-15 00:34:13 +01:00
|
|
|
FcExprCreateInteger (int i);
|
|
|
|
|
2006-09-04 09:47:07 +02:00
|
|
|
FcPrivate FcExpr *
|
2002-02-15 00:34:13 +01:00
|
|
|
FcExprCreateDouble (double d);
|
|
|
|
|
2006-09-04 09:47:07 +02:00
|
|
|
FcPrivate FcExpr *
|
2002-02-15 07:01:28 +01:00
|
|
|
FcExprCreateString (const FcChar8 *s);
|
2002-02-15 00:34:13 +01:00
|
|
|
|
2006-09-04 09:47:07 +02:00
|
|
|
FcPrivate FcExpr *
|
2002-02-15 00:34:13 +01:00
|
|
|
FcExprCreateMatrix (const FcMatrix *m);
|
|
|
|
|
2006-09-04 09:47:07 +02:00
|
|
|
FcPrivate FcExpr *
|
2002-02-15 00:34:13 +01:00
|
|
|
FcExprCreateBool (FcBool b);
|
|
|
|
|
2006-09-04 09:47:07 +02:00
|
|
|
FcPrivate FcExpr *
|
2002-02-15 00:34:13 +01:00
|
|
|
FcExprCreateNil (void);
|
|
|
|
|
2006-09-04 09:47:07 +02:00
|
|
|
FcPrivate FcExpr *
|
2002-02-15 00:34:13 +01:00
|
|
|
FcExprCreateField (const char *field);
|
|
|
|
|
2006-09-04 09:47:07 +02:00
|
|
|
FcPrivate FcExpr *
|
2002-02-15 07:01:28 +01:00
|
|
|
FcExprCreateConst (const FcChar8 *constant);
|
2002-02-15 00:34:13 +01:00
|
|
|
|
2006-09-04 09:47:07 +02:00
|
|
|
FcPrivate FcExpr *
|
2002-02-15 00:34:13 +01:00
|
|
|
FcExprCreateOp (FcExpr *left, FcOp op, FcExpr *right);
|
|
|
|
|
2006-09-04 09:47:07 +02:00
|
|
|
FcPrivate void
|
2002-02-15 00:34:13 +01:00
|
|
|
FcExprDestroy (FcExpr *e);
|
|
|
|
|
2006-09-04 09:47:07 +02:00
|
|
|
FcPrivate void
|
2002-02-15 00:34:13 +01:00
|
|
|
FcEditDestroy (FcEdit *e);
|
|
|
|
|
|
|
|
/* fcinit.c */
|
|
|
|
|
2006-09-04 09:47:07 +02:00
|
|
|
FcPrivate void
|
2002-02-15 00:34:13 +01:00
|
|
|
FcMemReport (void);
|
|
|
|
|
2006-09-04 09:47:07 +02:00
|
|
|
FcPrivate void
|
2002-02-15 00:34:13 +01:00
|
|
|
FcMemAlloc (int kind, int size);
|
|
|
|
|
2006-09-04 09:47:07 +02:00
|
|
|
FcPrivate void
|
2002-02-15 00:34:13 +01:00
|
|
|
FcMemFree (int kind, int size);
|
|
|
|
|
2002-07-07 01:47:44 +02:00
|
|
|
/* fclang.c */
|
2006-09-04 09:47:07 +02:00
|
|
|
FcPrivate FcLangSet *
|
2002-08-22 09:36:45 +02:00
|
|
|
FcFreeTypeLangSet (const FcCharSet *charset,
|
2002-07-08 09:31:53 +02:00
|
|
|
const FcChar8 *exclusiveLang);
|
2002-07-07 01:47:44 +02:00
|
|
|
|
2006-09-04 09:47:07 +02:00
|
|
|
FcPrivate FcLangResult
|
2002-07-07 01:47:44 +02:00
|
|
|
FcLangCompare (const FcChar8 *s1, const FcChar8 *s2);
|
|
|
|
|
2006-09-04 09:47:07 +02:00
|
|
|
FcPrivate FcLangSet *
|
2002-08-22 09:36:45 +02:00
|
|
|
FcLangSetPromote (const FcChar8 *lang);
|
|
|
|
|
2006-09-04 09:47:07 +02:00
|
|
|
FcPrivate FcLangSet *
|
2002-08-22 09:36:45 +02:00
|
|
|
FcNameParseLangSet (const FcChar8 *string);
|
|
|
|
|
2006-09-04 09:47:07 +02:00
|
|
|
FcPrivate FcBool
|
2002-08-22 09:36:45 +02:00
|
|
|
FcNameUnparseLangSet (FcStrBuf *buf, const FcLangSet *ls);
|
|
|
|
|
2006-09-04 09:47:07 +02:00
|
|
|
FcPrivate FcChar8 *
|
2006-08-31 23:38:18 +02:00
|
|
|
FcNameUnparseEscaped (FcPattern *pat, FcBool escape);
|
|
|
|
|
2002-02-15 00:34:13 +01:00
|
|
|
/* fclist.c */
|
|
|
|
|
2006-09-04 09:47:07 +02:00
|
|
|
FcPrivate FcBool
|
2004-12-04 20:41:10 +01:00
|
|
|
FcListPatternMatchAny (const FcPattern *p,
|
|
|
|
const FcPattern *font);
|
|
|
|
|
2002-02-15 00:34:13 +01:00
|
|
|
/* fcmatch.c */
|
|
|
|
|
|
|
|
/* fcname.c */
|
|
|
|
|
2006-08-30 13:16:22 +02:00
|
|
|
/*
|
|
|
|
* NOTE -- this ordering is part of the cache file format.
|
|
|
|
* It must also match the ordering in fcname.c
|
|
|
|
*/
|
2005-08-24 08:21:30 +02:00
|
|
|
|
2006-08-30 13:16:22 +02:00
|
|
|
#define FC_FAMILY_OBJECT 1
|
|
|
|
#define FC_FAMILYLANG_OBJECT 2
|
|
|
|
#define FC_STYLE_OBJECT 3
|
|
|
|
#define FC_STYLELANG_OBJECT 4
|
|
|
|
#define FC_FULLNAME_OBJECT 5
|
|
|
|
#define FC_FULLNAMELANG_OBJECT 6
|
|
|
|
#define FC_SLANT_OBJECT 7
|
|
|
|
#define FC_WEIGHT_OBJECT 8
|
|
|
|
#define FC_WIDTH_OBJECT 9
|
|
|
|
#define FC_SIZE_OBJECT 10
|
|
|
|
#define FC_ASPECT_OBJECT 11
|
|
|
|
#define FC_PIXEL_SIZE_OBJECT 12
|
|
|
|
#define FC_SPACING_OBJECT 13
|
|
|
|
#define FC_FOUNDRY_OBJECT 14
|
|
|
|
#define FC_ANTIALIAS_OBJECT 15
|
|
|
|
#define FC_HINT_STYLE_OBJECT 16
|
|
|
|
#define FC_HINTING_OBJECT 17
|
|
|
|
#define FC_VERTICAL_LAYOUT_OBJECT 18
|
|
|
|
#define FC_AUTOHINT_OBJECT 19
|
|
|
|
#define FC_GLOBAL_ADVANCE_OBJECT 20
|
|
|
|
#define FC_FILE_OBJECT 21
|
|
|
|
#define FC_INDEX_OBJECT 22
|
|
|
|
#define FC_RASTERIZER_OBJECT 23
|
|
|
|
#define FC_OUTLINE_OBJECT 24
|
|
|
|
#define FC_SCALABLE_OBJECT 25
|
|
|
|
#define FC_DPI_OBJECT 26
|
|
|
|
#define FC_RGBA_OBJECT 27
|
|
|
|
#define FC_SCALE_OBJECT 28
|
|
|
|
#define FC_MINSPACE_OBJECT 29
|
|
|
|
#define FC_CHAR_WIDTH_OBJECT 30
|
|
|
|
#define FC_CHAR_HEIGHT_OBJECT 31
|
|
|
|
#define FC_MATRIX_OBJECT 32
|
|
|
|
#define FC_CHARSET_OBJECT 33
|
|
|
|
#define FC_LANG_OBJECT 34
|
|
|
|
#define FC_FONTVERSION_OBJECT 35
|
|
|
|
#define FC_CAPABILITY_OBJECT 36
|
|
|
|
#define FC_FONTFORMAT_OBJECT 37
|
|
|
|
#define FC_EMBOLDEN_OBJECT 38
|
|
|
|
#define FC_EMBEDDED_BITMAP_OBJECT 39
|
2006-09-03 02:52:12 +02:00
|
|
|
#define FC_DECORATIVE_OBJECT 40
|
2006-12-02 22:57:45 +01:00
|
|
|
#define FC_MAX_BASE_OBJECT FC_DECORATIVE_OBJECT
|
2005-08-27 04:34:24 +02:00
|
|
|
|
2006-09-04 09:47:07 +02:00
|
|
|
FcPrivate FcBool
|
2006-08-30 13:16:22 +02:00
|
|
|
FcNameBool (const FcChar8 *v, FcBool *result);
|
2005-11-16 16:55:17 +01:00
|
|
|
|
2006-09-04 09:47:07 +02:00
|
|
|
FcPrivate FcBool
|
2006-08-30 13:16:22 +02:00
|
|
|
FcObjectValidType (FcObject object, FcType type);
|
2005-08-24 08:21:30 +02:00
|
|
|
|
2006-09-04 09:47:07 +02:00
|
|
|
FcPrivate FcObject
|
2006-08-30 13:16:22 +02:00
|
|
|
FcObjectFromName (const char * name);
|
2005-08-24 08:21:30 +02:00
|
|
|
|
2006-09-04 09:47:07 +02:00
|
|
|
FcPrivate const char *
|
2006-08-30 13:16:22 +02:00
|
|
|
FcObjectName (FcObject object);
|
2005-08-27 04:34:24 +02:00
|
|
|
|
2006-09-04 09:47:07 +02:00
|
|
|
FcPrivate FcBool
|
2006-08-31 03:50:58 +02:00
|
|
|
FcObjectInit (void);
|
2005-08-27 04:34:24 +02:00
|
|
|
|
2006-09-04 09:47:07 +02:00
|
|
|
FcPrivate void
|
2006-08-31 03:50:58 +02:00
|
|
|
FcObjectFini (void);
|
|
|
|
|
|
|
|
#define FcObjectCompare(a, b) ((int) a - (int) b)
|
2005-08-24 08:21:30 +02:00
|
|
|
|
2002-02-15 00:34:13 +01:00
|
|
|
/* fcpat.c */
|
2005-08-24 08:21:30 +02:00
|
|
|
|
2006-09-04 09:47:07 +02:00
|
|
|
FcPrivate FcValue
|
2005-08-24 08:21:30 +02:00
|
|
|
FcValueCanonicalize (const FcValue *v);
|
|
|
|
|
2006-09-04 09:47:07 +02:00
|
|
|
FcPrivate void
|
2005-06-28 05:41:02 +02:00
|
|
|
FcValueListDestroy (FcValueListPtr l);
|
|
|
|
|
2006-09-04 09:47:07 +02:00
|
|
|
FcPrivate FcPatternElt *
|
2006-08-30 13:16:22 +02:00
|
|
|
FcPatternObjectFindElt (const FcPattern *p, FcObject object);
|
2002-06-03 10:31:15 +02:00
|
|
|
|
2006-09-04 09:47:07 +02:00
|
|
|
FcPrivate FcPatternElt *
|
2006-08-30 13:16:22 +02:00
|
|
|
FcPatternObjectInsertElt (FcPattern *p, FcObject object);
|
2002-02-15 00:34:13 +01:00
|
|
|
|
2006-09-04 09:47:07 +02:00
|
|
|
FcPrivate FcBool
|
2006-08-30 13:16:22 +02:00
|
|
|
FcPatternObjectAddWithBinding (FcPattern *p,
|
|
|
|
FcObject object,
|
|
|
|
FcValue value,
|
|
|
|
FcValueBinding binding,
|
|
|
|
FcBool append);
|
2002-07-07 01:47:44 +02:00
|
|
|
|
2006-09-04 09:47:07 +02:00
|
|
|
FcPrivate FcBool
|
2006-08-30 13:16:22 +02:00
|
|
|
FcPatternObjectAdd (FcPattern *p, FcObject object, FcValue value, FcBool append);
|
|
|
|
|
2006-09-04 09:47:07 +02:00
|
|
|
FcPrivate FcBool
|
2006-08-30 13:16:22 +02:00
|
|
|
FcPatternObjectAddWeak (FcPattern *p, FcObject object, FcValue value, FcBool append);
|
|
|
|
|
2006-09-04 09:47:07 +02:00
|
|
|
FcPrivate FcResult
|
2006-08-30 13:16:22 +02:00
|
|
|
FcPatternObjectGet (const FcPattern *p, FcObject object, int id, FcValue *v);
|
|
|
|
|
2006-09-04 09:47:07 +02:00
|
|
|
FcPrivate FcBool
|
2006-08-30 13:16:22 +02:00
|
|
|
FcPatternObjectDel (FcPattern *p, FcObject object);
|
2003-08-15 21:45:20 +02:00
|
|
|
|
2006-09-04 09:47:07 +02:00
|
|
|
FcPrivate FcBool
|
2006-08-30 13:16:22 +02:00
|
|
|
FcPatternObjectRemove (FcPattern *p, FcObject object, int id);
|
2004-12-04 20:41:10 +01:00
|
|
|
|
2006-09-04 09:47:07 +02:00
|
|
|
FcPrivate FcBool
|
2006-08-30 13:16:22 +02:00
|
|
|
FcPatternObjectAddInteger (FcPattern *p, FcObject object, int i);
|
2005-06-28 05:41:02 +02:00
|
|
|
|
2006-09-04 09:47:07 +02:00
|
|
|
FcPrivate FcBool
|
2006-08-30 13:16:22 +02:00
|
|
|
FcPatternObjectAddDouble (FcPattern *p, FcObject object, double d);
|
2005-06-28 05:41:02 +02:00
|
|
|
|
2006-09-04 09:47:07 +02:00
|
|
|
FcPrivate FcBool
|
2006-08-30 13:16:22 +02:00
|
|
|
FcPatternObjectAddString (FcPattern *p, FcObject object, const FcChar8 *s);
|
2005-06-28 05:41:02 +02:00
|
|
|
|
2006-09-04 09:47:07 +02:00
|
|
|
FcPrivate FcBool
|
2006-08-30 13:16:22 +02:00
|
|
|
FcPatternObjectAddMatrix (FcPattern *p, FcObject object, const FcMatrix *s);
|
2005-06-28 05:41:02 +02:00
|
|
|
|
2006-09-04 09:47:07 +02:00
|
|
|
FcPrivate FcBool
|
2006-08-30 13:16:22 +02:00
|
|
|
FcPatternObjectAddCharSet (FcPattern *p, FcObject object, const FcCharSet *c);
|
2005-11-16 16:55:17 +01:00
|
|
|
|
2006-09-04 09:47:07 +02:00
|
|
|
FcPrivate FcBool
|
2006-08-30 13:16:22 +02:00
|
|
|
FcPatternObjectAddBool (FcPattern *p, FcObject object, FcBool b);
|
2005-06-28 05:41:02 +02:00
|
|
|
|
2006-09-04 09:47:07 +02:00
|
|
|
FcPrivate FcBool
|
2006-08-30 13:16:22 +02:00
|
|
|
FcPatternObjectAddLangSet (FcPattern *p, FcObject object, const FcLangSet *ls);
|
|
|
|
|
2006-09-04 09:47:07 +02:00
|
|
|
FcPrivate FcResult
|
2006-08-30 13:16:22 +02:00
|
|
|
FcPatternObjectGetInteger (const FcPattern *p, FcObject object, int n, int *i);
|
|
|
|
|
2006-09-04 09:47:07 +02:00
|
|
|
FcPrivate FcResult
|
2006-08-30 13:16:22 +02:00
|
|
|
FcPatternObjectGetDouble (const FcPattern *p, FcObject object, int n, double *d);
|
2005-11-25 04:00:51 +01:00
|
|
|
|
2006-09-04 09:47:07 +02:00
|
|
|
FcPrivate FcResult
|
2006-08-30 13:16:22 +02:00
|
|
|
FcPatternObjectGetString (const FcPattern *p, FcObject object, int n, FcChar8 ** s);
|
2005-11-25 04:00:51 +01:00
|
|
|
|
2006-09-04 09:47:07 +02:00
|
|
|
FcPrivate FcResult
|
2006-08-30 13:16:22 +02:00
|
|
|
FcPatternObjectGetMatrix (const FcPattern *p, FcObject object, int n, FcMatrix **s);
|
2005-11-25 04:00:51 +01:00
|
|
|
|
2006-09-04 09:47:07 +02:00
|
|
|
FcPrivate FcResult
|
2006-08-30 13:16:22 +02:00
|
|
|
FcPatternObjectGetCharSet (const FcPattern *p, FcObject object, int n, FcCharSet **c);
|
2005-11-25 04:00:51 +01:00
|
|
|
|
2006-09-04 09:47:07 +02:00
|
|
|
FcPrivate FcResult
|
2006-08-30 13:16:22 +02:00
|
|
|
FcPatternObjectGetBool (const FcPattern *p, FcObject object, int n, FcBool *b);
|
2005-06-28 05:41:02 +02:00
|
|
|
|
2006-09-04 09:47:07 +02:00
|
|
|
FcPrivate FcResult
|
2006-08-30 13:16:22 +02:00
|
|
|
FcPatternObjectGetLangSet (const FcPattern *p, FcObject object, int n, FcLangSet **ls);
|
|
|
|
|
2006-09-04 09:47:07 +02:00
|
|
|
FcPrivate void
|
2006-08-30 13:16:22 +02:00
|
|
|
FcPatternFini (void);
|
|
|
|
|
2006-09-04 09:47:07 +02:00
|
|
|
FcPrivate FcBool
|
2006-08-30 13:16:22 +02:00
|
|
|
FcPatternAppend (FcPattern *p, FcPattern *s);
|
|
|
|
|
2006-09-04 09:47:07 +02:00
|
|
|
FcPrivate const FcChar8 *
|
2006-08-30 13:16:22 +02:00
|
|
|
FcStrStaticName (const FcChar8 *name);
|
|
|
|
|
2006-09-04 09:47:07 +02:00
|
|
|
FcPrivate FcChar32
|
2006-08-30 13:16:22 +02:00
|
|
|
FcStringHash (const FcChar8 *s);
|
|
|
|
|
2006-09-04 09:47:07 +02:00
|
|
|
FcPrivate FcBool
|
2006-08-30 13:16:22 +02:00
|
|
|
FcPatternSerializeAlloc (FcSerialize *serialize, const FcPattern *pat);
|
2005-06-28 05:41:02 +02:00
|
|
|
|
2006-09-04 09:47:07 +02:00
|
|
|
FcPrivate FcPattern *
|
2006-08-30 13:16:22 +02:00
|
|
|
FcPatternSerialize (FcSerialize *serialize, const FcPattern *pat);
|
2005-07-25 06:10:09 +02:00
|
|
|
|
2006-09-04 09:47:07 +02:00
|
|
|
FcPrivate FcBool
|
2006-08-30 13:16:22 +02:00
|
|
|
FcValueListSerializeAlloc (FcSerialize *serialize, const FcValueList *pat);
|
|
|
|
|
2006-09-04 09:47:07 +02:00
|
|
|
FcPrivate FcValueList *
|
2006-08-30 13:16:22 +02:00
|
|
|
FcValueListSerialize (FcSerialize *serialize, const FcValueList *pat);
|
2005-07-25 06:10:09 +02:00
|
|
|
|
2002-02-15 00:34:13 +01:00
|
|
|
/* fcrender.c */
|
|
|
|
|
|
|
|
/* fcmatrix.c */
|
2002-07-28 12:50:59 +02:00
|
|
|
|
2006-09-04 09:47:07 +02:00
|
|
|
extern FcPrivate const FcMatrix FcIdentityMatrix;
|
2002-07-28 12:50:59 +02:00
|
|
|
|
2006-09-04 09:47:07 +02:00
|
|
|
FcPrivate void
|
2002-02-15 00:34:13 +01:00
|
|
|
FcMatrixFree (FcMatrix *mat);
|
|
|
|
|
|
|
|
/* fcstr.c */
|
2006-09-04 09:47:07 +02:00
|
|
|
FcPrivate void
|
2005-06-28 05:41:02 +02:00
|
|
|
FcStrSetSort (FcStrSet * set);
|
|
|
|
|
2006-09-04 09:47:07 +02:00
|
|
|
FcPrivate void
|
2002-02-18 23:29:28 +01:00
|
|
|
FcStrBufInit (FcStrBuf *buf, FcChar8 *init, int size);
|
|
|
|
|
2006-09-04 09:47:07 +02:00
|
|
|
FcPrivate void
|
2002-02-18 23:29:28 +01:00
|
|
|
FcStrBufDestroy (FcStrBuf *buf);
|
|
|
|
|
2006-09-04 09:47:07 +02:00
|
|
|
FcPrivate FcChar8 *
|
2002-02-18 23:29:28 +01:00
|
|
|
FcStrBufDone (FcStrBuf *buf);
|
|
|
|
|
2006-09-04 09:47:07 +02:00
|
|
|
FcPrivate FcBool
|
2002-02-18 23:29:28 +01:00
|
|
|
FcStrBufChar (FcStrBuf *buf, FcChar8 c);
|
|
|
|
|
2006-09-04 09:47:07 +02:00
|
|
|
FcPrivate FcBool
|
2002-02-18 23:29:28 +01:00
|
|
|
FcStrBufString (FcStrBuf *buf, const FcChar8 *s);
|
|
|
|
|
2006-09-04 09:47:07 +02:00
|
|
|
FcPrivate FcBool
|
2002-02-18 23:29:28 +01:00
|
|
|
FcStrBufData (FcStrBuf *buf, const FcChar8 *s, int len);
|
|
|
|
|
2006-09-04 09:47:07 +02:00
|
|
|
FcPrivate int
|
2002-07-07 01:47:44 +02:00
|
|
|
FcStrCmpIgnoreBlanksAndCase (const FcChar8 *s1, const FcChar8 *s2);
|
|
|
|
|
2006-09-04 09:47:07 +02:00
|
|
|
FcPrivate const FcChar8 *
|
2003-05-02 03:11:53 +02:00
|
|
|
FcStrContainsIgnoreBlanksAndCase (const FcChar8 *s1, const FcChar8 *s2);
|
|
|
|
|
2006-09-04 09:47:07 +02:00
|
|
|
FcPrivate const FcChar8 *
|
2003-05-02 03:11:53 +02:00
|
|
|
FcStrContainsIgnoreCase (const FcChar8 *s1, const FcChar8 *s2);
|
|
|
|
|
2006-09-02 05:25:21 +02:00
|
|
|
FcPrivate const FcChar8 *
|
|
|
|
FcStrContainsWord (const FcChar8 *s1, const FcChar8 *s2);
|
|
|
|
|
2006-09-04 09:47:07 +02:00
|
|
|
FcPrivate FcBool
|
2003-03-02 20:12:23 +01:00
|
|
|
FcStrUsesHome (const FcChar8 *s);
|
|
|
|
|
2006-09-04 09:47:07 +02:00
|
|
|
FcPrivate FcChar8 *
|
2003-03-22 22:25:34 +01:00
|
|
|
FcStrLastSlash (const FcChar8 *path);
|
|
|
|
|
2006-09-04 09:47:07 +02:00
|
|
|
FcPrivate FcChar32
|
2004-12-29 10:15:17 +01:00
|
|
|
FcStrHashIgnoreCase (const FcChar8 *s);
|
|
|
|
|
2006-09-04 09:47:07 +02:00
|
|
|
FcPrivate FcChar8 *
|
2006-08-28 08:40:51 +02:00
|
|
|
FcStrCanonFilename (const FcChar8 *s);
|
|
|
|
|
2006-09-04 09:47:07 +02:00
|
|
|
FcPrivate FcBool
|
2006-08-30 13:16:22 +02:00
|
|
|
FcStrSerializeAlloc (FcSerialize *serialize, const FcChar8 *str);
|
|
|
|
|
2006-09-04 09:47:07 +02:00
|
|
|
FcPrivate FcChar8 *
|
2006-08-30 13:16:22 +02:00
|
|
|
FcStrSerialize (FcSerialize *serialize, const FcChar8 *str);
|
|
|
|
|
2002-02-15 00:34:13 +01:00
|
|
|
#endif /* _FC_INT_H_ */
|