]> git.wh0rd.org - fontconfig.git/blob - fontconfig/fontconfig.h
Bump version to 2.1.92
[fontconfig.git] / fontconfig / fontconfig.h
1 /*
2 * $RCSId: xc/lib/fontconfig/fontconfig/fontconfig.h,v 1.30 2002/09/26 00:17:27 keithp Exp $
3 *
4 * Copyright © 2001 Keith Packard
5 *
6 * Permission to use, copy, modify, distribute, and sell this software and its
7 * documentation for any purpose is hereby granted without fee, provided that
8 * the above copyright notice appear in all copies and that both that
9 * copyright notice and this permission notice appear in supporting
10 * documentation, and that the name of Keith Packard not be used in
11 * advertising or publicity pertaining to distribution of the software without
12 * specific, written prior permission. Keith Packard makes no
13 * representations about the suitability of this software for any purpose. It
14 * is provided "as is" without express or implied warranty.
15 *
16 * KEITH PACKARD DISCLAIMS ALL WARRANTIES WITH REGARD TO THIS SOFTWARE,
17 * INCLUDING ALL IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS, IN NO
18 * EVENT SHALL KEITH PACKARD BE LIABLE FOR ANY SPECIAL, INDIRECT OR
19 * CONSEQUENTIAL DAMAGES OR ANY DAMAGES WHATSOEVER RESULTING FROM LOSS OF USE,
20 * DATA OR PROFITS, WHETHER IN AN ACTION OF CONTRACT, NEGLIGENCE OR OTHER
21 * TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION WITH THE USE OR
22 * PERFORMANCE OF THIS SOFTWARE.
23 */
24
25 #ifndef _FONTCONFIG_H_
26 #define _FONTCONFIG_H_
27
28 #include <stdarg.h>
29
30 typedef unsigned char FcChar8;
31 typedef unsigned short FcChar16;
32 typedef unsigned int FcChar32;
33 typedef int FcBool;
34
35 /*
36 * Current Fontconfig version number. This same number
37 * must appear in the fontconfig configure.in file. Yes,
38 * it'a a pain to synchronize version numbers like this.
39 */
40
41 #define FC_MAJOR 2
42 #define FC_MINOR 1
43 #define FC_REVISION 92
44
45 #define FC_VERSION ((FC_MAJOR * 10000) + (FC_MINOR * 100) + (FC_REVISION))
46
47 /*
48 * Current font cache file format version
49 * This is appended to the cache files so that multiple
50 * versions of the library will peacefully coexist
51 *
52 * Change this value whenever the disk format for the cache file
53 * changes in any non-compatible way. Try to avoid such changes as
54 * it means multiple copies of the font information.
55 */
56
57 #define FC_CACHE_VERSION "1"
58
59 #define FcTrue 1
60 #define FcFalse 0
61
62 #define FC_FAMILY "family" /* String */
63 #define FC_STYLE "style" /* String */
64 #define FC_SLANT "slant" /* Int */
65 #define FC_WEIGHT "weight" /* Int */
66 #define FC_SIZE "size" /* Double */
67 #define FC_ASPECT "aspect" /* Double */
68 #define FC_PIXEL_SIZE "pixelsize" /* Double */
69 #define FC_SPACING "spacing" /* Int */
70 #define FC_FOUNDRY "foundry" /* String */
71 #define FC_ANTIALIAS "antialias" /* Bool (depends) */
72 #define FC_HINTING "hinting" /* Bool (true) */
73 #define FC_VERTICAL_LAYOUT "verticallayout" /* Bool (false) */
74 #define FC_AUTOHINT "autohint" /* Bool (false) */
75 #define FC_GLOBAL_ADVANCE "globaladvance" /* Bool (true) */
76 #define FC_FILE "file" /* String */
77 #define FC_INDEX "index" /* Int */
78 #define FC_FT_FACE "ftface" /* FT_Face */
79 #define FC_RASTERIZER "rasterizer" /* String */
80 #define FC_OUTLINE "outline" /* Bool */
81 #define FC_SCALABLE "scalable" /* Bool */
82 #define FC_SCALE "scale" /* double */
83 #define FC_DPI "dpi" /* double */
84 #define FC_RGBA "rgba" /* Int */
85 #define FC_MINSPACE "minspace" /* Bool use minimum line spacing */
86 #define FC_SOURCE "source" /* String (X11, freetype) */
87 #define FC_CHARSET "charset" /* CharSet */
88 #define FC_LANG "lang" /* String RFC 3066 langs */
89 #define FC_FONTVERSION "fontversion" /* Int from 'head' table */
90
91 #define FC_DIR_CACHE_FILE "fonts.cache-"FC_CACHE_VERSION
92 #define FC_USER_CACHE_FILE ".fonts.cache-"FC_CACHE_VERSION
93
94 /* Adjust outline rasterizer */
95 #define FC_CHAR_WIDTH "charwidth" /* Int */
96 #define FC_CHAR_HEIGHT "charheight"/* Int */
97 #define FC_MATRIX "matrix" /* FcMatrix */
98
99 #define FC_WEIGHT_LIGHT 0
100 #define FC_WEIGHT_MEDIUM 100
101 #define FC_WEIGHT_DEMIBOLD 180
102 #define FC_WEIGHT_BOLD 200
103 #define FC_WEIGHT_BLACK 210
104
105 #define FC_SLANT_ROMAN 0
106 #define FC_SLANT_ITALIC 100
107 #define FC_SLANT_OBLIQUE 110
108
109 #define FC_PROPORTIONAL 0
110 #define FC_MONO 100
111 #define FC_CHARCELL 110
112
113 /* sub-pixel order */
114 #define FC_RGBA_UNKNOWN 0
115 #define FC_RGBA_RGB 1
116 #define FC_RGBA_BGR 2
117 #define FC_RGBA_VRGB 3
118 #define FC_RGBA_VBGR 4
119 #define FC_RGBA_NONE 5
120
121 typedef enum _FcType {
122 FcTypeVoid,
123 FcTypeInteger,
124 FcTypeDouble,
125 FcTypeString,
126 FcTypeBool,
127 FcTypeMatrix,
128 FcTypeCharSet,
129 FcTypeFTFace,
130 FcTypeLangSet
131 } FcType;
132
133 typedef struct _FcMatrix {
134 double xx, xy, yx, yy;
135 } FcMatrix;
136
137 #define FcMatrixInit(m) ((m)->xx = (m)->yy = 1, \
138 (m)->xy = (m)->yx = 0)
139
140 /*
141 * A data structure to represent the available glyphs in a font.
142 * This is represented as a sparse boolean btree.
143 */
144
145 typedef struct _FcCharSet FcCharSet;
146
147 typedef struct _FcObjectType {
148 const char *object;
149 FcType type;
150 } FcObjectType;
151
152 typedef struct _FcConstant {
153 const FcChar8 *name;
154 const char *object;
155 int value;
156 } FcConstant;
157
158 typedef enum _FcResult {
159 FcResultMatch, FcResultNoMatch, FcResultTypeMismatch, FcResultNoId
160 } FcResult;
161
162 typedef struct _FcPattern FcPattern;
163
164 typedef struct _FcLangSet FcLangSet;
165
166 typedef struct _FcValue {
167 FcType type;
168 union {
169 const FcChar8 *s;
170 int i;
171 FcBool b;
172 double d;
173 const FcMatrix *m;
174 const FcCharSet *c;
175 void *f;
176 const FcPattern *p;
177 const FcLangSet *l;
178 } u;
179 } FcValue;
180
181 typedef struct _FcFontSet {
182 int nfont;
183 int sfont;
184 FcPattern **fonts;
185 } FcFontSet;
186
187 typedef struct _FcObjectSet {
188 int nobject;
189 int sobject;
190 const char **objects;
191 } FcObjectSet;
192
193 typedef enum _FcMatchKind {
194 FcMatchPattern, FcMatchFont
195 } FcMatchKind;
196
197 typedef enum _FcLangResult {
198 FcLangEqual, FcLangDifferentCountry, FcLangDifferentLang
199 } FcLangResult;
200
201 typedef enum _FcSetName {
202 FcSetSystem = 0,
203 FcSetApplication = 1
204 } FcSetName;
205
206 typedef struct _FcAtomic FcAtomic;
207
208 #if defined(__cplusplus) || defined(c_plusplus) /* for C++ V2.0 */
209 #define _FCFUNCPROTOBEGIN extern "C" { /* do not leave open across includes */
210 #define _FCFUNCPROTOEND }
211 #else
212 #define _FCFUNCPROTOBEGIN
213 #define _FCFUNCPROTOEND
214 #endif
215
216 typedef enum { FcEndianBig, FcEndianLittle } FcEndian;
217
218 typedef struct _FcConfig FcConfig;
219
220 typedef struct _FcGlobalCache FcFileCache;
221
222 typedef struct _FcBlanks FcBlanks;
223
224 typedef struct _FcStrList FcStrList;
225
226 typedef struct _FcStrSet FcStrSet;
227
228 _FCFUNCPROTOBEGIN
229
230 FcBool
231 FcDirCacheValid (const FcChar8 *cache_file);
232
233 /* fcblanks.c */
234 FcBlanks *
235 FcBlanksCreate (void);
236
237 void
238 FcBlanksDestroy (FcBlanks *b);
239
240 FcBool
241 FcBlanksAdd (FcBlanks *b, FcChar32 ucs4);
242
243 FcBool
244 FcBlanksIsMember (FcBlanks *b, FcChar32 ucs4);
245
246 /* fccfg.c */
247 FcChar8 *
248 FcConfigHome (void);
249
250 FcBool
251 FcConfigEnableHome (FcBool enable);
252
253 FcChar8 *
254 FcConfigFilename (const FcChar8 *url);
255
256 FcConfig *
257 FcConfigCreate (void);
258
259 void
260 FcConfigDestroy (FcConfig *config);
261
262 FcBool
263 FcConfigSetCurrent (FcConfig *config);
264
265 FcConfig *
266 FcConfigGetCurrent (void);
267
268 FcBool
269 FcConfigUptoDate (FcConfig *config);
270
271 FcBool
272 FcConfigBuildFonts (FcConfig *config);
273
274 FcStrList *
275 FcConfigGetFontDirs (FcConfig *config);
276
277 FcStrList *
278 FcConfigGetConfigDirs (FcConfig *config);
279
280 FcStrList *
281 FcConfigGetConfigFiles (FcConfig *config);
282
283 FcChar8 *
284 FcConfigGetCache (FcConfig *config);
285
286 FcBlanks *
287 FcConfigGetBlanks (FcConfig *config);
288
289 int
290 FcConfigGetRescanInverval (FcConfig *config);
291
292 FcBool
293 FcConfigSetRescanInverval (FcConfig *config, int rescanInterval);
294
295 FcFontSet *
296 FcConfigGetFonts (FcConfig *config,
297 FcSetName set);
298
299 FcBool
300 FcConfigAppFontAddFile (FcConfig *config,
301 const FcChar8 *file);
302
303 FcBool
304 FcConfigAppFontAddDir (FcConfig *config,
305 const FcChar8 *dir);
306
307 void
308 FcConfigAppFontClear (FcConfig *config);
309
310 FcBool
311 FcConfigSubstituteWithPat (FcConfig *config,
312 FcPattern *p,
313 FcPattern *p_pat,
314 FcMatchKind kind);
315
316 FcBool
317 FcConfigSubstitute (FcConfig *config,
318 FcPattern *p,
319 FcMatchKind kind);
320
321 /* fccharset.c */
322 FcCharSet *
323 FcCharSetCreate (void);
324
325 void
326 FcCharSetDestroy (FcCharSet *fcs);
327
328 FcBool
329 FcCharSetAddChar (FcCharSet *fcs, FcChar32 ucs4);
330
331 FcCharSet *
332 FcCharSetCopy (FcCharSet *src);
333
334 FcBool
335 FcCharSetEqual (const FcCharSet *a, const FcCharSet *b);
336
337 FcCharSet *
338 FcCharSetIntersect (const FcCharSet *a, const FcCharSet *b);
339
340 FcCharSet *
341 FcCharSetUnion (const FcCharSet *a, const FcCharSet *b);
342
343 FcCharSet *
344 FcCharSetSubtract (const FcCharSet *a, const FcCharSet *b);
345
346 FcBool
347 FcCharSetHasChar (const FcCharSet *fcs, FcChar32 ucs4);
348
349 FcChar32
350 FcCharSetCount (const FcCharSet *a);
351
352 FcChar32
353 FcCharSetIntersectCount (const FcCharSet *a, const FcCharSet *b);
354
355 FcChar32
356 FcCharSetSubtractCount (const FcCharSet *a, const FcCharSet *b);
357
358 FcBool
359 FcCharSetIsSubset (const FcCharSet *a, const FcCharSet *b);
360
361 #define FC_CHARSET_MAP_SIZE (256/32)
362 #define FC_CHARSET_DONE ((FcChar32) -1)
363
364 FcChar32
365 FcCharSetFirstPage (const FcCharSet *a,
366 FcChar32 map[FC_CHARSET_MAP_SIZE],
367 FcChar32 *next);
368
369 FcChar32
370 FcCharSetNextPage (const FcCharSet *a,
371 FcChar32 map[FC_CHARSET_MAP_SIZE],
372 FcChar32 *next);
373
374
375 /* fcdbg.c */
376 void
377 FcValuePrint (const FcValue v);
378
379 void
380 FcPatternPrint (const FcPattern *p);
381
382 void
383 FcFontSetPrint (const FcFontSet *s);
384
385 /* fcdefault.c */
386 void
387 FcDefaultSubstitute (FcPattern *pattern);
388
389 /* fcdir.c */
390 FcBool
391 FcFileScan (FcFontSet *set,
392 FcStrSet *dirs,
393 FcFileCache *cache,
394 FcBlanks *blanks,
395 const FcChar8 *file,
396 FcBool force);
397
398 FcBool
399 FcDirScan (FcFontSet *set,
400 FcStrSet *dirs,
401 FcFileCache *cache,
402 FcBlanks *blanks,
403 const FcChar8 *dir,
404 FcBool force);
405
406 FcBool
407 FcDirSave (FcFontSet *set, FcStrSet *dirs, const FcChar8 *dir);
408
409 /* fcfreetype.c */
410 FcPattern *
411 FcFreeTypeQuery (const FcChar8 *file, int id, FcBlanks *blanks, int *count);
412
413 /* fcfs.c */
414
415 FcFontSet *
416 FcFontSetCreate (void);
417
418 void
419 FcFontSetDestroy (FcFontSet *s);
420
421 FcBool
422 FcFontSetAdd (FcFontSet *s, FcPattern *font);
423
424 /* fcinit.c */
425 FcConfig *
426 FcInitLoadConfig (void);
427
428 FcConfig *
429 FcInitLoadConfigAndFonts (void);
430
431 FcBool
432 FcInit (void);
433
434 int
435 FcGetVersion (void);
436
437 FcBool
438 FcInitReinitialize (void);
439
440 FcBool
441 FcInitBringUptoDate (void);
442
443 /* fclang.c */
444 FcLangSet *
445 FcLangSetCreate (void);
446
447 void
448 FcLangSetDestroy (FcLangSet *ls);
449
450 FcLangSet *
451 FcLangSetCopy (const FcLangSet *ls);
452
453 FcBool
454 FcLangSetAdd (FcLangSet *ls, const FcChar8 *lang);
455
456 FcLangResult
457 FcLangSetHasLang (const FcLangSet *ls, const FcChar8 *lang);
458
459 FcLangResult
460 FcLangSetCompare (const FcLangSet *lsa, const FcLangSet *lsb);
461
462 FcBool
463 FcLangSetContains (const FcLangSet *lsa, const FcLangSet *lsb);
464
465 FcBool
466 FcLangSetEqual (const FcLangSet *lsa, const FcLangSet *lsb);
467
468 FcChar32
469 FcLangSetHash (const FcLangSet *ls);
470
471 /* fclist.c */
472 FcObjectSet *
473 FcObjectSetCreate (void);
474
475 FcBool
476 FcObjectSetAdd (FcObjectSet *os, const char *object);
477
478 void
479 FcObjectSetDestroy (FcObjectSet *os);
480
481 FcObjectSet *
482 FcObjectSetVaBuild (const char *first, va_list va);
483
484 FcObjectSet *
485 FcObjectSetBuild (const char *first, ...);
486
487 FcFontSet *
488 FcFontSetList (FcConfig *config,
489 FcFontSet **sets,
490 int nsets,
491 FcPattern *p,
492 FcObjectSet *os);
493
494 FcFontSet *
495 FcFontList (FcConfig *config,
496 FcPattern *p,
497 FcObjectSet *os);
498
499 /* fcatomic.c */
500
501 FcAtomic *
502 FcAtomicCreate (const FcChar8 *file);
503
504 FcBool
505 FcAtomicLock (FcAtomic *atomic);
506
507 FcChar8 *
508 FcAtomicNewFile (FcAtomic *atomic);
509
510 FcChar8 *
511 FcAtomicOrigFile (FcAtomic *atomic);
512
513 FcBool
514 FcAtomicReplaceOrig (FcAtomic *atomic);
515
516 void
517 FcAtomicDeleteNew (FcAtomic *atomic);
518
519 void
520 FcAtomicUnlock (FcAtomic *atomic);
521
522 void
523 FcAtomicDestroy (FcAtomic *atomic);
524
525 /* fcmatch.c */
526 FcPattern *
527 FcFontSetMatch (FcConfig *config,
528 FcFontSet **sets,
529 int nsets,
530 FcPattern *p,
531 FcResult *result);
532
533 FcPattern *
534 FcFontMatch (FcConfig *config,
535 FcPattern *p,
536 FcResult *result);
537
538 FcPattern *
539 FcFontRenderPrepare (FcConfig *config,
540 FcPattern *pat,
541 FcPattern *font);
542
543 FcFontSet *
544 FcFontSetSort (FcConfig *config,
545 FcFontSet **sets,
546 int nsets,
547 FcPattern *p,
548 FcBool trim,
549 FcCharSet **csp,
550 FcResult *result);
551
552 FcFontSet *
553 FcFontSort (FcConfig *config,
554 FcPattern *p,
555 FcBool trim,
556 FcCharSet **csp,
557 FcResult *result);
558
559 void
560 FcFontSetSortDestroy (FcFontSet *fs);
561
562 /* fcmatrix.c */
563 FcMatrix *
564 FcMatrixCopy (const FcMatrix *mat);
565
566 FcBool
567 FcMatrixEqual (const FcMatrix *mat1, const FcMatrix *mat2);
568
569 void
570 FcMatrixMultiply (FcMatrix *result, const FcMatrix *a, const FcMatrix *b);
571
572 void
573 FcMatrixRotate (FcMatrix *m, double c, double s);
574
575 void
576 FcMatrixScale (FcMatrix *m, double sx, double sy);
577
578 void
579 FcMatrixShear (FcMatrix *m, double sh, double sv);
580
581 /* fcname.c */
582
583 FcBool
584 FcNameRegisterObjectTypes (const FcObjectType *types, int ntype);
585
586 FcBool
587 FcNameUnregisterObjectTypes (const FcObjectType *types, int ntype);
588
589 const FcObjectType *
590 FcNameGetObjectType (const char *object);
591
592 FcBool
593 FcNameRegisterConstants (const FcConstant *consts, int nconsts);
594
595 FcBool
596 FcNameUnregisterConstants (const FcConstant *consts, int nconsts);
597
598 const FcConstant *
599 FcNameGetConstant (FcChar8 *string);
600
601 FcBool
602 FcNameConstant (FcChar8 *string, int *result);
603
604 FcPattern *
605 FcNameParse (const FcChar8 *name);
606
607 FcChar8 *
608 FcNameUnparse (FcPattern *pat);
609
610 /* fcpat.c */
611 FcPattern *
612 FcPatternCreate (void);
613
614 FcPattern *
615 FcPatternDuplicate (const FcPattern *p);
616
617 void
618 FcPatternReference (FcPattern *p);
619
620 void
621 FcValueDestroy (FcValue v);
622
623 FcBool
624 FcValueEqual (FcValue va, FcValue vb);
625
626 FcValue
627 FcValueSave (FcValue v);
628
629 void
630 FcPatternDestroy (FcPattern *p);
631
632 FcBool
633 FcPatternEqual (const FcPattern *pa, const FcPattern *pb);
634
635 FcBool
636 FcPatternEqualSubset (const FcPattern *pa, const FcPattern *pb, const FcObjectSet *os);
637
638 FcChar32
639 FcPatternHash (const FcPattern *p);
640
641 FcBool
642 FcPatternAdd (FcPattern *p, const char *object, FcValue value, FcBool append);
643
644 FcBool
645 FcPatternAddWeak (FcPattern *p, const char *object, FcValue value, FcBool append);
646
647 FcResult
648 FcPatternGet (const FcPattern *p, const char *object, int id, FcValue *v);
649
650 FcBool
651 FcPatternDel (FcPattern *p, const char *object);
652
653 FcBool
654 FcPatternAddInteger (FcPattern *p, const char *object, int i);
655
656 FcBool
657 FcPatternAddDouble (FcPattern *p, const char *object, double d);
658
659 FcBool
660 FcPatternAddString (FcPattern *p, const char *object, const FcChar8 *s);
661
662 FcBool
663 FcPatternAddMatrix (FcPattern *p, const char *object, const FcMatrix *s);
664
665 FcBool
666 FcPatternAddCharSet (FcPattern *p, const char *object, const FcCharSet *c);
667
668 FcBool
669 FcPatternAddBool (FcPattern *p, const char *object, FcBool b);
670
671 FcBool
672 FcPatternAddLangSet (FcPattern *p, const char *object, const FcLangSet *ls);
673
674 FcResult
675 FcPatternGetInteger (const FcPattern *p, const char *object, int n, int *i);
676
677 FcResult
678 FcPatternGetDouble (const FcPattern *p, const char *object, int n, double *d);
679
680 FcResult
681 FcPatternGetString (const FcPattern *p, const char *object, int n, FcChar8 ** s);
682
683 FcResult
684 FcPatternGetMatrix (const FcPattern *p, const char *object, int n, FcMatrix **s);
685
686 FcResult
687 FcPatternGetCharSet (const FcPattern *p, const char *object, int n, FcCharSet **c);
688
689 FcResult
690 FcPatternGetBool (const FcPattern *p, const char *object, int n, FcBool *b);
691
692 FcResult
693 FcPatternGetLangSet (const FcPattern *p, const char *object, int n, FcLangSet **ls);
694
695 FcPattern *
696 FcPatternVaBuild (FcPattern *orig, va_list va);
697
698 FcPattern *
699 FcPatternBuild (FcPattern *orig, ...);
700
701 /* fcstr.c */
702
703 FcChar8 *
704 FcStrCopy (const FcChar8 *s);
705
706 FcChar8 *
707 FcStrCopyFilename (const FcChar8 *s);
708
709 #define FcIsUpper(c) (('A' <= (c) && (c) <= 'Z'))
710 #define FcIsLower(c) (('a' <= (c) && (c) <= 'z'))
711 #define FcToLower(c) (FcIsUpper(c) ? (c) - 'A' + 'a' : (c))
712
713 int
714 FcStrCmpIgnoreCase (const FcChar8 *s1, const FcChar8 *s2);
715
716 int
717 FcStrCmp (const FcChar8 *s1, const FcChar8 *s2);
718
719 int
720 FcUtf8ToUcs4 (const FcChar8 *src_orig,
721 FcChar32 *dst,
722 int len);
723
724 FcBool
725 FcUtf8Len (const FcChar8 *string,
726 int len,
727 int *nchar,
728 int *wchar);
729
730 #define FC_UTF8_MAX_LEN 6
731
732 int
733 FcUcs4ToUtf8 (FcChar32 ucs4,
734 FcChar8 dest[FC_UTF8_MAX_LEN]);
735
736 int
737 FcUtf16ToUcs4 (const FcChar8 *src_orig,
738 FcEndian endian,
739 FcChar32 *dst,
740 int len); /* in bytes */
741
742 FcBool
743 FcUtf16Len (const FcChar8 *string,
744 FcEndian endian,
745 int len, /* in bytes */
746 int *nchar,
747 int *wchar);
748
749 FcChar8 *
750 FcStrDirname (const FcChar8 *file);
751
752 FcChar8 *
753 FcStrBasename (const FcChar8 *file);
754
755 FcStrSet *
756 FcStrSetCreate (void);
757
758 FcBool
759 FcStrSetMember (FcStrSet *set, const FcChar8 *s);
760
761 FcBool
762 FcStrSetEqual (FcStrSet *sa, FcStrSet *sb);
763
764 FcBool
765 FcStrSetAdd (FcStrSet *set, const FcChar8 *s);
766
767 FcBool
768 FcStrSetAddFilename (FcStrSet *set, const FcChar8 *s);
769
770 FcBool
771 FcStrSetDel (FcStrSet *set, const FcChar8 *s);
772
773 void
774 FcStrSetDestroy (FcStrSet *set);
775
776 FcStrList *
777 FcStrListCreate (FcStrSet *set);
778
779 FcChar8 *
780 FcStrListNext (FcStrList *list);
781
782 void
783 FcStrListDone (FcStrList *list);
784
785 /* fcxml.c */
786 FcBool
787 FcConfigParseAndLoad (FcConfig *config, const FcChar8 *file, FcBool complain);
788
789 _FCFUNCPROTOEND
790
791 #endif /* _FONTCONFIG_H_ */