]> git.wh0rd.org - fontconfig.git/blob - fontconfig/fontconfig.h
Update version to 2.1.91
[fontconfig.git] / fontconfig / fontconfig.h
1 /*
2 * $XFree86: xc/lib/fontconfig/fontconfig/fontconfig.h,v 1.30 2002/09/26 00:17:27 keithp Exp $
3 *
4 * Copyright © 2001 Keith Packard, member of The XFree86 Project, Inc.
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 91
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 FcLangSetEqual (const FcLangSet *lsa, const FcLangSet *lsb);
464
465 FcChar32
466 FcLangSetHash (const FcLangSet *ls);
467
468 /* fclist.c */
469 FcObjectSet *
470 FcObjectSetCreate (void);
471
472 FcBool
473 FcObjectSetAdd (FcObjectSet *os, const char *object);
474
475 void
476 FcObjectSetDestroy (FcObjectSet *os);
477
478 FcObjectSet *
479 FcObjectSetVaBuild (const char *first, va_list va);
480
481 FcObjectSet *
482 FcObjectSetBuild (const char *first, ...);
483
484 FcFontSet *
485 FcFontSetList (FcConfig *config,
486 FcFontSet **sets,
487 int nsets,
488 FcPattern *p,
489 FcObjectSet *os);
490
491 FcFontSet *
492 FcFontList (FcConfig *config,
493 FcPattern *p,
494 FcObjectSet *os);
495
496 /* fcatomic.c */
497
498 FcAtomic *
499 FcAtomicCreate (const FcChar8 *file);
500
501 FcBool
502 FcAtomicLock (FcAtomic *atomic);
503
504 FcChar8 *
505 FcAtomicNewFile (FcAtomic *atomic);
506
507 FcChar8 *
508 FcAtomicOrigFile (FcAtomic *atomic);
509
510 FcBool
511 FcAtomicReplaceOrig (FcAtomic *atomic);
512
513 void
514 FcAtomicDeleteNew (FcAtomic *atomic);
515
516 void
517 FcAtomicUnlock (FcAtomic *atomic);
518
519 void
520 FcAtomicDestroy (FcAtomic *atomic);
521
522 /* fcmatch.c */
523 FcPattern *
524 FcFontSetMatch (FcConfig *config,
525 FcFontSet **sets,
526 int nsets,
527 FcPattern *p,
528 FcResult *result);
529
530 FcPattern *
531 FcFontMatch (FcConfig *config,
532 FcPattern *p,
533 FcResult *result);
534
535 FcPattern *
536 FcFontRenderPrepare (FcConfig *config,
537 FcPattern *pat,
538 FcPattern *font);
539
540 FcFontSet *
541 FcFontSetSort (FcConfig *config,
542 FcFontSet **sets,
543 int nsets,
544 FcPattern *p,
545 FcBool trim,
546 FcCharSet **csp,
547 FcResult *result);
548
549 FcFontSet *
550 FcFontSort (FcConfig *config,
551 FcPattern *p,
552 FcBool trim,
553 FcCharSet **csp,
554 FcResult *result);
555
556 void
557 FcFontSetSortDestroy (FcFontSet *fs);
558
559 /* fcmatrix.c */
560 FcMatrix *
561 FcMatrixCopy (const FcMatrix *mat);
562
563 FcBool
564 FcMatrixEqual (const FcMatrix *mat1, const FcMatrix *mat2);
565
566 void
567 FcMatrixMultiply (FcMatrix *result, const FcMatrix *a, const FcMatrix *b);
568
569 void
570 FcMatrixRotate (FcMatrix *m, double c, double s);
571
572 void
573 FcMatrixScale (FcMatrix *m, double sx, double sy);
574
575 void
576 FcMatrixShear (FcMatrix *m, double sh, double sv);
577
578 /* fcname.c */
579
580 FcBool
581 FcNameRegisterObjectTypes (const FcObjectType *types, int ntype);
582
583 FcBool
584 FcNameUnregisterObjectTypes (const FcObjectType *types, int ntype);
585
586 const FcObjectType *
587 FcNameGetObjectType (const char *object);
588
589 FcBool
590 FcNameRegisterConstants (const FcConstant *consts, int nconsts);
591
592 FcBool
593 FcNameUnregisterConstants (const FcConstant *consts, int nconsts);
594
595 const FcConstant *
596 FcNameGetConstant (FcChar8 *string);
597
598 FcBool
599 FcNameConstant (FcChar8 *string, int *result);
600
601 FcPattern *
602 FcNameParse (const FcChar8 *name);
603
604 FcChar8 *
605 FcNameUnparse (FcPattern *pat);
606
607 /* fcpat.c */
608 FcPattern *
609 FcPatternCreate (void);
610
611 FcPattern *
612 FcPatternDuplicate (const FcPattern *p);
613
614 void
615 FcPatternReference (FcPattern *p);
616
617 void
618 FcValueDestroy (FcValue v);
619
620 FcBool
621 FcValueEqual (FcValue va, FcValue vb);
622
623 FcValue
624 FcValueSave (FcValue v);
625
626 void
627 FcPatternDestroy (FcPattern *p);
628
629 FcBool
630 FcPatternEqual (const FcPattern *pa, const FcPattern *pb);
631
632 FcBool
633 FcPatternEqualSubset (const FcPattern *pa, const FcPattern *pb, const FcObjectSet *os);
634
635 FcChar32
636 FcPatternHash (const FcPattern *p);
637
638 FcBool
639 FcPatternAdd (FcPattern *p, const char *object, FcValue value, FcBool append);
640
641 FcBool
642 FcPatternAddWeak (FcPattern *p, const char *object, FcValue value, FcBool append);
643
644 FcResult
645 FcPatternGet (const FcPattern *p, const char *object, int id, FcValue *v);
646
647 FcBool
648 FcPatternDel (FcPattern *p, const char *object);
649
650 FcBool
651 FcPatternAddInteger (FcPattern *p, const char *object, int i);
652
653 FcBool
654 FcPatternAddDouble (FcPattern *p, const char *object, double d);
655
656 FcBool
657 FcPatternAddString (FcPattern *p, const char *object, const FcChar8 *s);
658
659 FcBool
660 FcPatternAddMatrix (FcPattern *p, const char *object, const FcMatrix *s);
661
662 FcBool
663 FcPatternAddCharSet (FcPattern *p, const char *object, const FcCharSet *c);
664
665 FcBool
666 FcPatternAddBool (FcPattern *p, const char *object, FcBool b);
667
668 FcBool
669 FcPatternAddLangSet (FcPattern *p, const char *object, const FcLangSet *ls);
670
671 FcResult
672 FcPatternGetInteger (const FcPattern *p, const char *object, int n, int *i);
673
674 FcResult
675 FcPatternGetDouble (const FcPattern *p, const char *object, int n, double *d);
676
677 FcResult
678 FcPatternGetString (const FcPattern *p, const char *object, int n, FcChar8 ** s);
679
680 FcResult
681 FcPatternGetMatrix (const FcPattern *p, const char *object, int n, FcMatrix **s);
682
683 FcResult
684 FcPatternGetCharSet (const FcPattern *p, const char *object, int n, FcCharSet **c);
685
686 FcResult
687 FcPatternGetBool (const FcPattern *p, const char *object, int n, FcBool *b);
688
689 FcResult
690 FcPatternGetLangSet (const FcPattern *p, const char *object, int n, FcLangSet **ls);
691
692 FcPattern *
693 FcPatternVaBuild (FcPattern *orig, va_list va);
694
695 FcPattern *
696 FcPatternBuild (FcPattern *orig, ...);
697
698 /* fcstr.c */
699
700 FcChar8 *
701 FcStrCopy (const FcChar8 *s);
702
703 FcChar8 *
704 FcStrCopyFilename (const FcChar8 *s);
705
706 #define FcToLower(c) (('A' <= (c) && (c) <= 'Z') ? (c) - 'A' + 'a' : (c))
707
708 int
709 FcStrCmpIgnoreCase (const FcChar8 *s1, const FcChar8 *s2);
710
711 int
712 FcStrCmp (const FcChar8 *s1, const FcChar8 *s2);
713
714 int
715 FcUtf8ToUcs4 (const FcChar8 *src_orig,
716 FcChar32 *dst,
717 int len);
718
719 FcBool
720 FcUtf8Len (const FcChar8 *string,
721 int len,
722 int *nchar,
723 int *wchar);
724
725 #define FC_UTF8_MAX_LEN 6
726
727 int
728 FcUcs4ToUtf8 (FcChar32 ucs4,
729 FcChar8 dest[FC_UTF8_MAX_LEN]);
730
731 int
732 FcUtf16ToUcs4 (const FcChar8 *src_orig,
733 FcEndian endian,
734 FcChar32 *dst,
735 int len); /* in bytes */
736
737 FcBool
738 FcUtf16Len (const FcChar8 *string,
739 FcEndian endian,
740 int len, /* in bytes */
741 int *nchar,
742 int *wchar);
743
744 FcChar8 *
745 FcStrDirname (const FcChar8 *file);
746
747 FcChar8 *
748 FcStrBasename (const FcChar8 *file);
749
750 FcStrSet *
751 FcStrSetCreate (void);
752
753 FcBool
754 FcStrSetMember (FcStrSet *set, const FcChar8 *s);
755
756 FcBool
757 FcStrSetEqual (FcStrSet *sa, FcStrSet *sb);
758
759 FcBool
760 FcStrSetAdd (FcStrSet *set, const FcChar8 *s);
761
762 FcBool
763 FcStrSetAddFilename (FcStrSet *set, const FcChar8 *s);
764
765 FcBool
766 FcStrSetDel (FcStrSet *set, const FcChar8 *s);
767
768 void
769 FcStrSetDestroy (FcStrSet *set);
770
771 FcStrList *
772 FcStrListCreate (FcStrSet *set);
773
774 FcChar8 *
775 FcStrListNext (FcStrList *list);
776
777 void
778 FcStrListDone (FcStrList *list);
779
780 /* fcxml.c */
781 FcBool
782 FcConfigParseAndLoad (FcConfig *config, const FcChar8 *file, FcBool complain);
783
784 _FCFUNCPROTOEND
785
786 #endif /* _FONTCONFIG_H_ */