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