]> git.wh0rd.org - fontconfig.git/blob - fontconfig/fontconfig.h
Add FC_LANG_UNKNOWN (needed by auto lang-detecting fcfreetype.c)
[fontconfig.git] / fontconfig / fontconfig.h
1 /*
2 * $XFree86: xc/lib/fontconfig/fontconfig/fontconfig.h,v 1.18 2002/06/19 20:08:22 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
37 */
38 #define FC_MAJOR 1
39 #define FC_MINOR 0
40 #define FC_REVISION 1
41
42 #define FC_VERSION ((FC_MAJOR * 10000) + (FC_MINOR * 100) + (FC_REVISION))
43
44 #define FcTrue 1
45 #define FcFalse 0
46
47 #define FC_FAMILY "family" /* String */
48 #define FC_STYLE "style" /* String */
49 #define FC_SLANT "slant" /* Int */
50 #define FC_WEIGHT "weight" /* Int */
51 #define FC_SIZE "size" /* Double */
52 #define FC_ASPECT "aspect" /* Double */
53 #define FC_PIXEL_SIZE "pixelsize" /* Double */
54 #define FC_SPACING "spacing" /* Int */
55 #define FC_FOUNDRY "foundry" /* String */
56 #define FC_ANTIALIAS "antialias" /* Bool (depends) */
57 #define FC_HINTING "hinting" /* Bool (true) */
58 #define FC_VERTICAL_LAYOUT "verticallayout" /* Bool (false) */
59 #define FC_AUTOHINT "autohint" /* Bool (false) */
60 #define FC_GLOBAL_ADVANCE "globaladvance" /* Bool (true) */
61 #define FC_FILE "file" /* String */
62 #define FC_INDEX "index" /* Int */
63 #define FC_FT_FACE "ftface" /* FT_Face */
64 #define FC_RASTERIZER "rasterizer" /* String */
65 #define FC_OUTLINE "outline" /* Bool */
66 #define FC_SCALABLE "scalable" /* Bool */
67 #define FC_SCALE "scale" /* double */
68 #define FC_DPI "dpi" /* double */
69 #define FC_RGBA "rgba" /* Int */
70 #define FC_MINSPACE "minspace" /* Bool use minimum line spacing */
71 #define FC_SOURCE "source" /* String (X11, freetype) */
72 #define FC_CHARSET "charset" /* CharSet */
73 #define FC_LANG "lang" /* String OS/2 CodePageRange */
74
75 #define FC_DIR_CACHE_FILE "fonts.cache"
76 #define FC_USER_CACHE_FILE ".fonts.cache"
77
78 /* Adjust outline rasterizer */
79 #define FC_CHAR_WIDTH "charwidth" /* Int */
80 #define FC_CHAR_HEIGHT "charheight"/* Int */
81 #define FC_MATRIX "matrix" /* FcMatrix */
82
83 #define FC_WEIGHT_LIGHT 0
84 #define FC_WEIGHT_MEDIUM 100
85 #define FC_WEIGHT_DEMIBOLD 180
86 #define FC_WEIGHT_BOLD 200
87 #define FC_WEIGHT_BLACK 210
88
89 #define FC_SLANT_ROMAN 0
90 #define FC_SLANT_ITALIC 100
91 #define FC_SLANT_OBLIQUE 110
92
93 #define FC_PROPORTIONAL 0
94 #define FC_MONO 100
95 #define FC_CHARCELL 110
96
97 /* sub-pixel order */
98 #define FC_RGBA_NONE 0
99 #define FC_RGBA_RGB 1
100 #define FC_RGBA_BGR 2
101 #define FC_RGBA_VRGB 3
102 #define FC_RGBA_VBGR 4
103
104 /* language groups from the OS/2 CodePageRange bits */
105 #define FC_LANG_LATIN_1 "latin1" /* 0 */
106 #define FC_LANG_LATIN_2_EASTERN_EUROPE "latin2easterneurope" /* 1 */
107 #define FC_LANG_CYRILLIC "cyrillic" /* 2 */
108 #define FC_LANG_GREEK "greek" /* 3 */
109 #define FC_LANG_TURKISH "turkish" /* 4 */
110 #define FC_LANG_HEBREW "hebrew" /* 5 */
111 #define FC_LANG_ARABIC "arabic" /* 6 */
112 #define FC_LANG_WINDOWS_BALTIC "windowsbaltic" /* 7 */
113 #define FC_LANG_VIETNAMESE "vietnamese" /* 8 */
114 /* 9-15 reserved for Alternate ANSI */
115 #define FC_LANG_THAI "thai" /* 16 */
116 #define FC_LANG_JAPANESE "japanese" /* 17 */
117 #define FC_LANG_SIMPLIFIED_CHINESE "simplifiedchinese" /* 18 */
118 #define FC_LANG_KOREAN_WANSUNG "koreanwansung" /* 19 */
119 #define FC_LANG_TRADITIONAL_CHINESE "traditionalchinese" /* 20 */
120 #define FC_LANG_KOREAN_JOHAB "koreanjohab" /* 21 */
121 /* 22-28 reserved for Alternate ANSI & OEM */
122 #define FC_LANG_MACINTOSH "macintosh" /* 29 */
123 #define FC_LANG_OEM "oem" /* 30 */
124 #define FC_LANG_SYMBOL "symbol" /* 31 */
125 /* 32-47 reserved for OEM */
126 #define FC_LANG_IBM_GREEK "ibmgreek" /* 48 */
127 #define FC_LANG_MSDOS_RUSSIAN "msdosrussian" /* 49 */
128 #define FC_LANG_MSDOS_NORDIC "msdosnordic" /* 50 */
129 #define FC_LANG_ARABIC_864 "arabic864" /* 51 */
130 #define FC_LANG_MSDOS_CANADIAN_FRENCH "msdoscanadianfrench" /* 52 */
131 #define FC_LANG_HEBREW_862 "hebrew862" /* 53 */
132 #define FC_LANG_MSDOS_ICELANDIC "msdosicelandic" /* 54 */
133 #define FC_LANG_MSDOS_PORTUGUESE "msdosportuguese" /* 55 */
134 #define FC_LANG_IBM_TURKISH "ibmturkish" /* 56 */
135 #define FC_LANG_IBM_CYRILLIC "ibmcyrillic" /* 57 */
136 #define FC_LANG_LATIN_2 "latin2" /* 58 */
137 #define FC_LANG_MSDOS_BALTIC "msdosbaltic" /* 59 */
138 #define FC_LANG_GREEK_437_G "greek437g" /* 60 */
139 #define FC_LANG_ARABIC_ASMO_708 "arabicasmo708" /* 61 */
140 #define FC_LANG_WE_LATIN_1 "welatin1" /* 62 */
141 #define FC_LANG_US "us" /* 63 */
142 #define FC_LANG_UNKNOWN "unknown" /* none of the above */
143
144 typedef enum _FcType {
145 FcTypeVoid,
146 FcTypeInteger,
147 FcTypeDouble,
148 FcTypeString,
149 FcTypeBool,
150 FcTypeMatrix,
151 FcTypeCharSet,
152 FcTypeFTFace
153 } FcType;
154
155 typedef struct _FcMatrix {
156 double xx, xy, yx, yy;
157 } FcMatrix;
158
159 #define FcMatrixInit(m) ((m)->xx = (m)->yy = 1, \
160 (m)->xy = (m)->yx = 0)
161
162 /*
163 * A data structure to represent the available glyphs in a font.
164 * This is represented as a sparse boolean btree.
165 */
166
167 typedef struct _FcCharSet FcCharSet;
168
169 typedef struct _FcObjectType {
170 const char *object;
171 FcType type;
172 } FcObjectType;
173
174 typedef struct _FcConstant {
175 const FcChar8 *name;
176 const char *object;
177 int value;
178 } FcConstant;
179
180 typedef enum _FcResult {
181 FcResultMatch, FcResultNoMatch, FcResultTypeMismatch, FcResultNoId
182 } FcResult;
183
184 typedef struct _FcValue {
185 FcType type;
186 union {
187 const FcChar8 *s;
188 int i;
189 FcBool b;
190 double d;
191 const FcMatrix *m;
192 const FcCharSet *c;
193 void *f;
194 } u;
195 } FcValue;
196
197 typedef struct _FcPattern FcPattern;
198
199 typedef struct _FcFontSet {
200 int nfont;
201 int sfont;
202 FcPattern **fonts;
203 } FcFontSet;
204
205 typedef struct _FcObjectSet {
206 int nobject;
207 int sobject;
208 const char **objects;
209 } FcObjectSet;
210
211 typedef enum _FcMatchKind {
212 FcMatchPattern, FcMatchFont
213 } FcMatchKind;
214
215 typedef enum _FcSetName {
216 FcSetSystem = 0,
217 FcSetApplication = 1
218 } FcSetName;
219
220 typedef struct _FcAtomic FcAtomic;
221
222 #if defined(__cplusplus) || defined(c_plusplus) /* for C++ V2.0 */
223 #define _FCFUNCPROTOBEGIN extern "C" { /* do not leave open across includes */
224 #define _FCFUNCPROTOEND }
225 #else
226 #define _FCFUNCPROTOBEGIN
227 #define _FCFUNCPROTOEND
228 #endif
229
230 typedef struct _FcConfig FcConfig;
231
232 typedef struct _FcFileCache FcFileCache;
233
234 typedef struct _FcBlanks FcBlanks;
235
236 typedef struct _FcStrList FcStrList;
237
238 typedef struct _FcStrSet FcStrSet;
239
240 _FCFUNCPROTOBEGIN
241
242 /* fcblanks.c */
243 FcBlanks *
244 FcBlanksCreate (void);
245
246 void
247 FcBlanksDestroy (FcBlanks *b);
248
249 FcBool
250 FcBlanksAdd (FcBlanks *b, FcChar32 ucs4);
251
252 FcBool
253 FcBlanksIsMember (FcBlanks *b, FcChar32 ucs4);
254
255 /* fccfg.c */
256 FcChar8 *
257 FcConfigFilename (const FcChar8 *url);
258
259 FcConfig *
260 FcConfigCreate (void);
261
262 void
263 FcConfigDestroy (FcConfig *config);
264
265 FcBool
266 FcConfigSetCurrent (FcConfig *config);
267
268 FcConfig *
269 FcConfigGetCurrent (void);
270
271 FcBool
272 FcConfigUptoDate (FcConfig *config);
273
274 FcBool
275 FcConfigBuildFonts (FcConfig *config);
276
277 FcStrList *
278 FcConfigGetFontDirs (FcConfig *config);
279
280 FcStrList *
281 FcConfigGetConfigDirs (FcConfig *config);
282
283 FcStrList *
284 FcConfigGetConfigFiles (FcConfig *config);
285
286 FcChar8 *
287 FcConfigGetCache (FcConfig *config);
288
289 FcBlanks *
290 FcConfigGetBlanks (FcConfig *config);
291
292 int
293 FcConfigGetRescanInverval (FcConfig *config);
294
295 FcBool
296 FcConfigSetRescanInverval (FcConfig *config, int rescanInterval);
297
298 FcFontSet *
299 FcConfigGetFonts (FcConfig *config,
300 FcSetName set);
301
302 FcBool
303 FcConfigAppFontAddFile (FcConfig *config,
304 const FcChar8 *file);
305
306 FcBool
307 FcConfigAppFontAddDir (FcConfig *config,
308 const FcChar8 *dir);
309
310 void
311 FcConfigAppFontClear (FcConfig *config);
312
313 FcBool
314 FcConfigSubstitute (FcConfig *config,
315 FcPattern *p,
316 FcMatchKind kind);
317
318 /* fccharset.c */
319 FcCharSet *
320 FcCharSetCreate (void);
321
322 void
323 FcCharSetDestroy (FcCharSet *fcs);
324
325 FcBool
326 FcCharSetAddChar (FcCharSet *fcs, FcChar32 ucs4);
327
328 FcCharSet *
329 FcCharSetCopy (FcCharSet *src);
330
331 FcBool
332 FcCharSetEqual (const FcCharSet *a, const FcCharSet *b);
333
334 FcCharSet *
335 FcCharSetIntersect (const FcCharSet *a, const FcCharSet *b);
336
337 FcCharSet *
338 FcCharSetUnion (const FcCharSet *a, const FcCharSet *b);
339
340 FcCharSet *
341 FcCharSetSubtract (const FcCharSet *a, const FcCharSet *b);
342
343 FcBool
344 FcCharSetHasChar (const FcCharSet *fcs, FcChar32 ucs4);
345
346 FcChar32
347 FcCharSetCount (const FcCharSet *a);
348
349 FcChar32
350 FcCharSetIntersectCount (const FcCharSet *a, const FcCharSet *b);
351
352 FcChar32
353 FcCharSetSubtractCount (const FcCharSet *a, const FcCharSet *b);
354
355 FcBool
356 FcCharSetIsSubset (const FcCharSet *a, const FcCharSet *b);
357
358 #define FC_CHARSET_MAP_SIZE (256/32)
359 #define FC_CHARSET_DONE ((FcChar32) -1)
360
361 FcChar32
362 FcCharSetFirstPage (const FcCharSet *a,
363 FcChar32 map[FC_CHARSET_MAP_SIZE],
364 FcChar32 *next);
365
366 FcChar32
367 FcCharSetNextPage (const FcCharSet *a,
368 FcChar32 map[FC_CHARSET_MAP_SIZE],
369 FcChar32 *next);
370
371
372 /* fcdbg.c */
373 void
374 FcValuePrint (FcValue v);
375
376 void
377 FcPatternPrint (FcPattern *p);
378
379 void
380 FcFontSetPrint (FcFontSet *s);
381
382 /* fcdefault.c */
383 void
384 FcDefaultSubstitute (FcPattern *pattern);
385
386 /* fcdir.c */
387 FcBool
388 FcFileScan (FcFontSet *set,
389 FcStrSet *dirs,
390 FcFileCache *cache,
391 FcBlanks *blanks,
392 const FcChar8 *file,
393 FcBool force);
394
395 FcBool
396 FcDirScan (FcFontSet *set,
397 FcStrSet *dirs,
398 FcFileCache *cache,
399 FcBlanks *blanks,
400 const FcChar8 *dir,
401 FcBool force);
402
403 FcBool
404 FcDirSave (FcFontSet *set, FcStrSet *dirs, const FcChar8 *dir);
405
406 FcBool
407 FcDirCacheValid (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 /* fclist.c */
444 FcObjectSet *
445 FcObjectSetCreate (void);
446
447 FcBool
448 FcObjectSetAdd (FcObjectSet *os, const char *object);
449
450 void
451 FcObjectSetDestroy (FcObjectSet *os);
452
453 FcObjectSet *
454 FcObjectSetVaBuild (const char *first, va_list va);
455
456 FcObjectSet *
457 FcObjectSetBuild (const char *first, ...);
458
459 FcFontSet *
460 FcFontSetList (FcConfig *config,
461 FcFontSet **sets,
462 int nsets,
463 FcPattern *p,
464 FcObjectSet *os);
465
466 FcFontSet *
467 FcFontList (FcConfig *config,
468 FcPattern *p,
469 FcObjectSet *os);
470
471 /* fcatomic.c */
472
473 FcAtomic *
474 FcAtomicCreate (const FcChar8 *file);
475
476 FcBool
477 FcAtomicLock (FcAtomic *atomic);
478
479 FcChar8 *
480 FcAtomicNewFile (FcAtomic *atomic);
481
482 FcChar8 *
483 FcAtomicOrigFile (FcAtomic *atomic);
484
485 FcBool
486 FcAtomicReplaceOrig (FcAtomic *atomic);
487
488 void
489 FcAtomicDeleteNew (FcAtomic *atomic);
490
491 void
492 FcAtomicUnlock (FcAtomic *atomic);
493
494 void
495 FcAtomicDestroy (FcAtomic *atomic);
496
497 /* fcmatch.c */
498 FcPattern *
499 FcFontSetMatch (FcConfig *config,
500 FcFontSet **sets,
501 int nsets,
502 FcPattern *p,
503 FcResult *result);
504
505 FcPattern *
506 FcFontMatch (FcConfig *config,
507 FcPattern *p,
508 FcResult *result);
509
510 FcPattern *
511 FcFontRenderPrepare (FcConfig *config,
512 FcPattern *pat,
513 FcPattern *font);
514
515 FcFontSet *
516 FcFontSetSort (FcConfig *config,
517 FcFontSet **sets,
518 int nsets,
519 FcPattern *p,
520 FcBool trim,
521 FcCharSet **csp,
522 FcResult *result);
523
524 FcFontSet *
525 FcFontSort (FcConfig *config,
526 FcPattern *p,
527 FcBool trim,
528 FcCharSet **csp,
529 FcResult *result);
530
531 void
532 FcFontSetSortDestroy (FcFontSet *fs);
533
534 /* fcmatrix.c */
535 FcMatrix *
536 FcMatrixCopy (const FcMatrix *mat);
537
538 FcBool
539 FcMatrixEqual (const FcMatrix *mat1, const FcMatrix *mat2);
540
541 void
542 FcMatrixMultiply (FcMatrix *result, const FcMatrix *a, const FcMatrix *b);
543
544 void
545 FcMatrixRotate (FcMatrix *m, double c, double s);
546
547 void
548 FcMatrixScale (FcMatrix *m, double sx, double sy);
549
550 void
551 FcMatrixShear (FcMatrix *m, double sh, double sv);
552
553 /* fcname.c */
554
555 FcBool
556 FcNameRegisterObjectTypes (const FcObjectType *types, int ntype);
557
558 FcBool
559 FcNameUnregisterObjectTypes (const FcObjectType *types, int ntype);
560
561 const FcObjectType *
562 FcNameGetObjectType (const char *object);
563
564 FcBool
565 FcNameRegisterConstants (const FcConstant *consts, int nconsts);
566
567 FcBool
568 FcNameUnregisterConstants (const FcConstant *consts, int nconsts);
569
570 const FcConstant *
571 FcNameGetConstant (FcChar8 *string);
572
573 FcBool
574 FcNameConstant (FcChar8 *string, int *result);
575
576 FcPattern *
577 FcNameParse (const FcChar8 *name);
578
579 FcChar8 *
580 FcNameUnparse (FcPattern *pat);
581
582 /* fcpat.c */
583 FcPattern *
584 FcPatternCreate (void);
585
586 FcPattern *
587 FcPatternDuplicate (FcPattern *p);
588
589 void
590 FcPatternReference (FcPattern *p);
591
592 void
593 FcValueDestroy (FcValue v);
594
595 FcBool
596 FcValueEqual (FcValue va, FcValue vb);
597
598 FcValue
599 FcValueSave (FcValue v);
600
601 void
602 FcPatternDestroy (FcPattern *p);
603
604 FcBool
605 FcPatternEqual (const FcPattern *pa, const FcPattern *pb);
606
607 FcBool
608 FcPatternEqualSubset (const FcPattern *pa, const FcPattern *pb, const FcObjectSet *os);
609
610 FcChar32
611 FcPatternHash (const FcPattern *p);
612
613 FcBool
614 FcPatternAdd (FcPattern *p, const char *object, FcValue value, FcBool append);
615
616 FcResult
617 FcPatternGet (FcPattern *p, const char *object, int id, FcValue *v);
618
619 FcBool
620 FcPatternDel (FcPattern *p, const char *object);
621
622 FcBool
623 FcPatternAddInteger (FcPattern *p, const char *object, int i);
624
625 FcBool
626 FcPatternAddDouble (FcPattern *p, const char *object, double d);
627
628 FcBool
629 FcPatternAddString (FcPattern *p, const char *object, const FcChar8 *s);
630
631 FcBool
632 FcPatternAddMatrix (FcPattern *p, const char *object, const FcMatrix *s);
633
634 FcBool
635 FcPatternAddCharSet (FcPattern *p, const char *object, const FcCharSet *c);
636
637 FcBool
638 FcPatternAddBool (FcPattern *p, const char *object, FcBool b);
639
640 FcResult
641 FcPatternGetInteger (FcPattern *p, const char *object, int n, int *i);
642
643 FcResult
644 FcPatternGetDouble (FcPattern *p, const char *object, int n, double *d);
645
646 FcResult
647 FcPatternGetString (FcPattern *p, const char *object, int n, FcChar8 ** s);
648
649 FcResult
650 FcPatternGetMatrix (FcPattern *p, const char *object, int n, FcMatrix **s);
651
652 FcResult
653 FcPatternGetCharSet (FcPattern *p, const char *object, int n, FcCharSet **c);
654
655 FcResult
656 FcPatternGetBool (FcPattern *p, const char *object, int n, FcBool *b);
657
658 FcPattern *
659 FcPatternVaBuild (FcPattern *orig, va_list va);
660
661 FcPattern *
662 FcPatternBuild (FcPattern *orig, ...);
663
664 /* fcstr.c */
665
666 FcChar8 *
667 FcStrCopy (const FcChar8 *s);
668
669 FcChar8 *
670 FcStrCopyFilename (const FcChar8 *s);
671
672 #define FcToLower(c) (('A' <= (c) && (c) <= 'Z') ? (c) - 'A' + 'a' : (c))
673
674 int
675 FcStrCmpIgnoreCase (const FcChar8 *s1, const FcChar8 *s2);
676
677 int
678 FcStrCmp (const FcChar8 *s1, const FcChar8 *s2);
679
680 int
681 FcUtf8ToUcs4 (FcChar8 *src_orig,
682 FcChar32 *dst,
683 int len);
684
685 FcBool
686 FcUtf8Len (FcChar8 *string,
687 int len,
688 int *nchar,
689 int *wchar);
690
691 FcChar8 *
692 FcStrDirname (const FcChar8 *file);
693
694 FcChar8 *
695 FcStrBasename (const FcChar8 *file);
696
697 FcStrSet *
698 FcStrSetCreate (void);
699
700 FcBool
701 FcStrSetMember (FcStrSet *set, const FcChar8 *s);
702
703 FcBool
704 FcStrSetAdd (FcStrSet *set, const FcChar8 *s);
705
706 FcBool
707 FcStrSetAddFilename (FcStrSet *set, const FcChar8 *s);
708
709 FcBool
710 FcStrSetDel (FcStrSet *set, const FcChar8 *s);
711
712 void
713 FcStrSetDestroy (FcStrSet *set);
714
715 FcStrList *
716 FcStrListCreate (FcStrSet *set);
717
718 FcChar8 *
719 FcStrListNext (FcStrList *list);
720
721 void
722 FcStrListDone (FcStrList *list);
723
724 /* fcxml.c */
725 FcBool
726 FcConfigParseAndLoad (FcConfig *config, const FcChar8 *file, FcBool complain);
727
728 _FCFUNCPROTOEND
729
730 #endif /* _FONTCONFIG_H_ */