2 fontconfig/doc/func.sgml
4 Copyright © 2003 Keith Packard
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 the author(s) not be used in
11 advertising or publicity pertaining to distribution of the software without
12 specific, written prior permission. The authors make no
13 representations about the suitability of this software for any purpose. It
14 is provided "as is" without express or implied warranty.
16 THE AUTHOR(S) DISCLAIMS ALL WARRANTIES WITH REGARD TO THIS SOFTWARE,
17 INCLUDING ALL IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS, IN NO
18 EVENT SHALL THE AUTHOR(S) 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.
24 <refentry id="FcPatternCreate">
26 <refentrytitle>FcPatternCreate</refentrytitle>
27 <manvolnum>3</manvolnum>
28 <refmiscinfo class="software">Fontconfig &version;</refmiscinfo>
31 <refname>FcPatternCreate</refname>
32 <refpurpose>Create a pattern</refpurpose>
37 #include <fontconfig/fontconfig.h>
40 <funcdef>FcPattern * <function>FcPatternCreate</function></funcdef>
41 <paramdef>void<parameter></parameter></paramdef>
45 <refsect1><title>Description</title>
47 Creates a pattern with no properties; used to build patterns from scratch.
52 fontconfig/doc/func.sgml
54 Copyright © 2003 Keith Packard
56 Permission to use, copy, modify, distribute, and sell this software and its
57 documentation for any purpose is hereby granted without fee, provided that
58 the above copyright notice appear in all copies and that both that
59 copyright notice and this permission notice appear in supporting
60 documentation, and that the name of the author(s) not be used in
61 advertising or publicity pertaining to distribution of the software without
62 specific, written prior permission. The authors make no
63 representations about the suitability of this software for any purpose. It
64 is provided "as is" without express or implied warranty.
66 THE AUTHOR(S) DISCLAIMS ALL WARRANTIES WITH REGARD TO THIS SOFTWARE,
67 INCLUDING ALL IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS, IN NO
68 EVENT SHALL THE AUTHOR(S) BE LIABLE FOR ANY SPECIAL, INDIRECT OR
69 CONSEQUENTIAL DAMAGES OR ANY DAMAGES WHATSOEVER RESULTING FROM LOSS OF USE,
70 DATA OR PROFITS, WHETHER IN AN ACTION OF CONTRACT, NEGLIGENCE OR OTHER
71 TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION WITH THE USE OR
72 PERFORMANCE OF THIS SOFTWARE.
74 <refentry id="FcPatternDuplicate">
76 <refentrytitle>FcPatternDuplicate</refentrytitle>
77 <manvolnum>3</manvolnum>
78 <refmiscinfo class="software">Fontconfig &version;</refmiscinfo>
81 <refname>FcPatternDuplicate</refname>
82 <refpurpose>Copy a pattern</refpurpose>
87 #include <fontconfig/fontconfig.h>
90 <funcdef>FcPattern * <function>FcPatternDuplicate</function></funcdef>
91 <paramdef>const FcPattern *<parameter>p</parameter></paramdef>
95 <refsect1><title>Description</title>
97 Copy a pattern, returning a new pattern that matches
98 <parameter>p</parameter>. Each pattern may be modified without affecting the
104 fontconfig/doc/func.sgml
106 Copyright © 2003 Keith Packard
108 Permission to use, copy, modify, distribute, and sell this software and its
109 documentation for any purpose is hereby granted without fee, provided that
110 the above copyright notice appear in all copies and that both that
111 copyright notice and this permission notice appear in supporting
112 documentation, and that the name of the author(s) not be used in
113 advertising or publicity pertaining to distribution of the software without
114 specific, written prior permission. The authors make no
115 representations about the suitability of this software for any purpose. It
116 is provided "as is" without express or implied warranty.
118 THE AUTHOR(S) DISCLAIMS ALL WARRANTIES WITH REGARD TO THIS SOFTWARE,
119 INCLUDING ALL IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS, IN NO
120 EVENT SHALL THE AUTHOR(S) BE LIABLE FOR ANY SPECIAL, INDIRECT OR
121 CONSEQUENTIAL DAMAGES OR ANY DAMAGES WHATSOEVER RESULTING FROM LOSS OF USE,
122 DATA OR PROFITS, WHETHER IN AN ACTION OF CONTRACT, NEGLIGENCE OR OTHER
123 TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION WITH THE USE OR
124 PERFORMANCE OF THIS SOFTWARE.
126 <refentry id="FcPatternReference">
128 <refentrytitle>FcPatternReference</refentrytitle>
129 <manvolnum>3</manvolnum>
130 <refmiscinfo class="software">Fontconfig &version;</refmiscinfo>
133 <refname>FcPatternReference</refname>
134 <refpurpose>Increment pattern reference count</refpurpose>
139 #include <fontconfig/fontconfig.h>
142 <funcdef>void <function>FcPatternReference</function></funcdef>
143 <paramdef>FcPattern *<parameter>p</parameter></paramdef>
147 <refsect1><title>Description</title>
149 Add another reference to <parameter>p</parameter>. Patterns are freed only
150 when the reference count reaches zero.
155 fontconfig/doc/func.sgml
157 Copyright © 2003 Keith Packard
159 Permission to use, copy, modify, distribute, and sell this software and its
160 documentation for any purpose is hereby granted without fee, provided that
161 the above copyright notice appear in all copies and that both that
162 copyright notice and this permission notice appear in supporting
163 documentation, and that the name of the author(s) not be used in
164 advertising or publicity pertaining to distribution of the software without
165 specific, written prior permission. The authors make no
166 representations about the suitability of this software for any purpose. It
167 is provided "as is" without express or implied warranty.
169 THE AUTHOR(S) DISCLAIMS ALL WARRANTIES WITH REGARD TO THIS SOFTWARE,
170 INCLUDING ALL IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS, IN NO
171 EVENT SHALL THE AUTHOR(S) BE LIABLE FOR ANY SPECIAL, INDIRECT OR
172 CONSEQUENTIAL DAMAGES OR ANY DAMAGES WHATSOEVER RESULTING FROM LOSS OF USE,
173 DATA OR PROFITS, WHETHER IN AN ACTION OF CONTRACT, NEGLIGENCE OR OTHER
174 TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION WITH THE USE OR
175 PERFORMANCE OF THIS SOFTWARE.
177 <refentry id="FcPatternDestroy">
179 <refentrytitle>FcPatternDestroy</refentrytitle>
180 <manvolnum>3</manvolnum>
181 <refmiscinfo class="software">Fontconfig &version;</refmiscinfo>
184 <refname>FcPatternDestroy</refname>
185 <refpurpose>Destroy a pattern</refpurpose>
190 #include <fontconfig/fontconfig.h>
193 <funcdef>void <function>FcPatternDestroy</function></funcdef>
194 <paramdef>FcPattern *<parameter>p</parameter></paramdef>
198 <refsect1><title>Description</title>
200 Decrement the pattern reference count. If all references are gone, destroys
201 the pattern, in the process destroying all related values.
206 fontconfig/doc/func.sgml
208 Copyright © 2003 Keith Packard
210 Permission to use, copy, modify, distribute, and sell this software and its
211 documentation for any purpose is hereby granted without fee, provided that
212 the above copyright notice appear in all copies and that both that
213 copyright notice and this permission notice appear in supporting
214 documentation, and that the name of the author(s) not be used in
215 advertising or publicity pertaining to distribution of the software without
216 specific, written prior permission. The authors make no
217 representations about the suitability of this software for any purpose. It
218 is provided "as is" without express or implied warranty.
220 THE AUTHOR(S) DISCLAIMS ALL WARRANTIES WITH REGARD TO THIS SOFTWARE,
221 INCLUDING ALL IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS, IN NO
222 EVENT SHALL THE AUTHOR(S) BE LIABLE FOR ANY SPECIAL, INDIRECT OR
223 CONSEQUENTIAL DAMAGES OR ANY DAMAGES WHATSOEVER RESULTING FROM LOSS OF USE,
224 DATA OR PROFITS, WHETHER IN AN ACTION OF CONTRACT, NEGLIGENCE OR OTHER
225 TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION WITH THE USE OR
226 PERFORMANCE OF THIS SOFTWARE.
228 <refentry id="FcPatternObjectCount">
230 <refentrytitle>FcPatternObjectCount</refentrytitle>
231 <manvolnum>3</manvolnum>
232 <refmiscinfo class="software">Fontconfig &version;</refmiscinfo>
235 <refname>FcPatternObjectCount</refname>
236 <refpurpose>Returns the number of the object</refpurpose>
241 #include <fontconfig/fontconfig.h>
244 <funcdef>int <function>FcPatternObjectCount</function></funcdef>
245 <paramdef>const FcPattern *<parameter>p</parameter></paramdef>
249 <refsect1><title>Description</title>
251 Returns the number of the object <parameter>p</parameter> has.
254 <refsect1><title>Since</title>
255 <para>version 2.13.1</para>
259 fontconfig/doc/func.sgml
261 Copyright © 2003 Keith Packard
263 Permission to use, copy, modify, distribute, and sell this software and its
264 documentation for any purpose is hereby granted without fee, provided that
265 the above copyright notice appear in all copies and that both that
266 copyright notice and this permission notice appear in supporting
267 documentation, and that the name of the author(s) not be used in
268 advertising or publicity pertaining to distribution of the software without
269 specific, written prior permission. The authors make no
270 representations about the suitability of this software for any purpose. It
271 is provided "as is" without express or implied warranty.
273 THE AUTHOR(S) DISCLAIMS ALL WARRANTIES WITH REGARD TO THIS SOFTWARE,
274 INCLUDING ALL IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS, IN NO
275 EVENT SHALL THE AUTHOR(S) BE LIABLE FOR ANY SPECIAL, INDIRECT OR
276 CONSEQUENTIAL DAMAGES OR ANY DAMAGES WHATSOEVER RESULTING FROM LOSS OF USE,
277 DATA OR PROFITS, WHETHER IN AN ACTION OF CONTRACT, NEGLIGENCE OR OTHER
278 TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION WITH THE USE OR
279 PERFORMANCE OF THIS SOFTWARE.
281 <refentry id="FcPatternEqual">
283 <refentrytitle>FcPatternEqual</refentrytitle>
284 <manvolnum>3</manvolnum>
285 <refmiscinfo class="software">Fontconfig &version;</refmiscinfo>
288 <refname>FcPatternEqual</refname>
289 <refpurpose>Compare patterns</refpurpose>
294 #include <fontconfig/fontconfig.h>
297 <funcdef>FcBool <function>FcPatternEqual</function></funcdef>
298 <paramdef>const FcPattern *<parameter>pa</parameter></paramdef>
299 <paramdef>const FcPattern *<parameter>pb</parameter></paramdef>
303 <refsect1><title>Description</title>
305 Returns whether <parameter>pa</parameter> and <parameter>pb</parameter> are exactly alike.
310 fontconfig/doc/func.sgml
312 Copyright © 2003 Keith Packard
314 Permission to use, copy, modify, distribute, and sell this software and its
315 documentation for any purpose is hereby granted without fee, provided that
316 the above copyright notice appear in all copies and that both that
317 copyright notice and this permission notice appear in supporting
318 documentation, and that the name of the author(s) not be used in
319 advertising or publicity pertaining to distribution of the software without
320 specific, written prior permission. The authors make no
321 representations about the suitability of this software for any purpose. It
322 is provided "as is" without express or implied warranty.
324 THE AUTHOR(S) DISCLAIMS ALL WARRANTIES WITH REGARD TO THIS SOFTWARE,
325 INCLUDING ALL IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS, IN NO
326 EVENT SHALL THE AUTHOR(S) BE LIABLE FOR ANY SPECIAL, INDIRECT OR
327 CONSEQUENTIAL DAMAGES OR ANY DAMAGES WHATSOEVER RESULTING FROM LOSS OF USE,
328 DATA OR PROFITS, WHETHER IN AN ACTION OF CONTRACT, NEGLIGENCE OR OTHER
329 TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION WITH THE USE OR
330 PERFORMANCE OF THIS SOFTWARE.
332 <refentry id="FcPatternEqualSubset">
334 <refentrytitle>FcPatternEqualSubset</refentrytitle>
335 <manvolnum>3</manvolnum>
336 <refmiscinfo class="software">Fontconfig &version;</refmiscinfo>
339 <refname>FcPatternEqualSubset</refname>
340 <refpurpose>Compare portions of patterns</refpurpose>
345 #include <fontconfig/fontconfig.h>
348 <funcdef>FcBool <function>FcPatternEqualSubset</function></funcdef>
349 <paramdef>const FcPattern *<parameter>pa</parameter></paramdef>
350 <paramdef>const FcPattern *<parameter>pb</parameter></paramdef>
351 <paramdef>const FcObjectSet *<parameter>os</parameter></paramdef>
355 <refsect1><title>Description</title>
357 Returns whether <parameter>pa</parameter> and <parameter>pb</parameter> have exactly the same values for all of the
358 objects in <parameter>os</parameter>.
363 fontconfig/doc/func.sgml
365 Copyright © 2003 Keith Packard
367 Permission to use, copy, modify, distribute, and sell this software and its
368 documentation for any purpose is hereby granted without fee, provided that
369 the above copyright notice appear in all copies and that both that
370 copyright notice and this permission notice appear in supporting
371 documentation, and that the name of the author(s) not be used in
372 advertising or publicity pertaining to distribution of the software without
373 specific, written prior permission. The authors make no
374 representations about the suitability of this software for any purpose. It
375 is provided "as is" without express or implied warranty.
377 THE AUTHOR(S) DISCLAIMS ALL WARRANTIES WITH REGARD TO THIS SOFTWARE,
378 INCLUDING ALL IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS, IN NO
379 EVENT SHALL THE AUTHOR(S) BE LIABLE FOR ANY SPECIAL, INDIRECT OR
380 CONSEQUENTIAL DAMAGES OR ANY DAMAGES WHATSOEVER RESULTING FROM LOSS OF USE,
381 DATA OR PROFITS, WHETHER IN AN ACTION OF CONTRACT, NEGLIGENCE OR OTHER
382 TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION WITH THE USE OR
383 PERFORMANCE OF THIS SOFTWARE.
385 <refentry id="FcPatternFilter">
387 <refentrytitle>FcPatternFilter</refentrytitle>
388 <manvolnum>3</manvolnum>
389 <refmiscinfo class="software">Fontconfig &version;</refmiscinfo>
392 <refname>FcPatternFilter</refname>
393 <refpurpose>Filter the objects of pattern</refpurpose>
398 #include <fontconfig/fontconfig.h>
401 <funcdef>FcPattern * <function>FcPatternFilter</function></funcdef>
402 <paramdef>FcPattern *<parameter>p</parameter></paramdef>
403 <paramdef>const FcObjectSet *<parameter></parameter></paramdef>
407 <refsect1><title>Description</title>
409 Returns a new pattern that only has those objects from
410 <parameter>p</parameter> that are in <parameter>os</parameter>.
411 If <parameter>os</parameter> is NULL, a duplicate of
412 <parameter>p</parameter> is returned.
417 fontconfig/doc/func.sgml
419 Copyright © 2003 Keith Packard
421 Permission to use, copy, modify, distribute, and sell this software and its
422 documentation for any purpose is hereby granted without fee, provided that
423 the above copyright notice appear in all copies and that both that
424 copyright notice and this permission notice appear in supporting
425 documentation, and that the name of the author(s) not be used in
426 advertising or publicity pertaining to distribution of the software without
427 specific, written prior permission. The authors make no
428 representations about the suitability of this software for any purpose. It
429 is provided "as is" without express or implied warranty.
431 THE AUTHOR(S) DISCLAIMS ALL WARRANTIES WITH REGARD TO THIS SOFTWARE,
432 INCLUDING ALL IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS, IN NO
433 EVENT SHALL THE AUTHOR(S) BE LIABLE FOR ANY SPECIAL, INDIRECT OR
434 CONSEQUENTIAL DAMAGES OR ANY DAMAGES WHATSOEVER RESULTING FROM LOSS OF USE,
435 DATA OR PROFITS, WHETHER IN AN ACTION OF CONTRACT, NEGLIGENCE OR OTHER
436 TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION WITH THE USE OR
437 PERFORMANCE OF THIS SOFTWARE.
439 <refentry id="FcPatternHash">
441 <refentrytitle>FcPatternHash</refentrytitle>
442 <manvolnum>3</manvolnum>
443 <refmiscinfo class="software">Fontconfig &version;</refmiscinfo>
446 <refname>FcPatternHash</refname>
447 <refpurpose>Compute a pattern hash value</refpurpose>
452 #include <fontconfig/fontconfig.h>
455 <funcdef>FcChar32 <function>FcPatternHash</function></funcdef>
456 <paramdef>const FcPattern *<parameter>p</parameter></paramdef>
460 <refsect1><title>Description</title>
462 Returns a 32-bit number which is the same for any two patterns which are
468 fontconfig/doc/func.sgml
470 Copyright © 2003 Keith Packard
472 Permission to use, copy, modify, distribute, and sell this software and its
473 documentation for any purpose is hereby granted without fee, provided that
474 the above copyright notice appear in all copies and that both that
475 copyright notice and this permission notice appear in supporting
476 documentation, and that the name of the author(s) not be used in
477 advertising or publicity pertaining to distribution of the software without
478 specific, written prior permission. The authors make no
479 representations about the suitability of this software for any purpose. It
480 is provided "as is" without express or implied warranty.
482 THE AUTHOR(S) DISCLAIMS ALL WARRANTIES WITH REGARD TO THIS SOFTWARE,
483 INCLUDING ALL IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS, IN NO
484 EVENT SHALL THE AUTHOR(S) BE LIABLE FOR ANY SPECIAL, INDIRECT OR
485 CONSEQUENTIAL DAMAGES OR ANY DAMAGES WHATSOEVER RESULTING FROM LOSS OF USE,
486 DATA OR PROFITS, WHETHER IN AN ACTION OF CONTRACT, NEGLIGENCE OR OTHER
487 TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION WITH THE USE OR
488 PERFORMANCE OF THIS SOFTWARE.
490 <refentry id="FcPatternAdd">
492 <refentrytitle>FcPatternAdd</refentrytitle>
493 <manvolnum>3</manvolnum>
494 <refmiscinfo class="software">Fontconfig &version;</refmiscinfo>
497 <refname>FcPatternAdd</refname>
498 <refpurpose>Add a value to a pattern</refpurpose>
503 #include <fontconfig/fontconfig.h>
506 <funcdef>FcBool <function>FcPatternAdd</function></funcdef>
507 <paramdef>FcPattern *<parameter>p</parameter></paramdef>
508 <paramdef>const char *<parameter>object</parameter></paramdef>
509 <paramdef>FcValue <parameter>value</parameter></paramdef>
510 <paramdef>FcBool <parameter>append</parameter></paramdef>
514 <refsect1><title>Description</title>
516 Adds a single value to the list of values associated with the property named
517 `object<parameter>. If `append</parameter> is FcTrue, the value is added at the end of any
518 existing list, otherwise it is inserted at the beginning. `value' is saved
519 (with FcValueSave) when inserted into the pattern so that the library
520 retains no reference to any application-supplied data structure.
525 fontconfig/doc/func.sgml
527 Copyright © 2003 Keith Packard
529 Permission to use, copy, modify, distribute, and sell this software and its
530 documentation for any purpose is hereby granted without fee, provided that
531 the above copyright notice appear in all copies and that both that
532 copyright notice and this permission notice appear in supporting
533 documentation, and that the name of the author(s) not be used in
534 advertising or publicity pertaining to distribution of the software without
535 specific, written prior permission. The authors make no
536 representations about the suitability of this software for any purpose. It
537 is provided "as is" without express or implied warranty.
539 THE AUTHOR(S) DISCLAIMS ALL WARRANTIES WITH REGARD TO THIS SOFTWARE,
540 INCLUDING ALL IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS, IN NO
541 EVENT SHALL THE AUTHOR(S) BE LIABLE FOR ANY SPECIAL, INDIRECT OR
542 CONSEQUENTIAL DAMAGES OR ANY DAMAGES WHATSOEVER RESULTING FROM LOSS OF USE,
543 DATA OR PROFITS, WHETHER IN AN ACTION OF CONTRACT, NEGLIGENCE OR OTHER
544 TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION WITH THE USE OR
545 PERFORMANCE OF THIS SOFTWARE.
547 <refentry id="FcPatternAddWeak">
549 <refentrytitle>FcPatternAddWeak</refentrytitle>
550 <manvolnum>3</manvolnum>
551 <refmiscinfo class="software">Fontconfig &version;</refmiscinfo>
554 <refname>FcPatternAddWeak</refname>
555 <refpurpose>Add a value to a pattern with weak binding</refpurpose>
560 #include <fontconfig/fontconfig.h>
563 <funcdef>FcBool <function>FcPatternAddWeak</function></funcdef>
564 <paramdef>FcPattern *<parameter>p</parameter></paramdef>
565 <paramdef>const char *<parameter>object</parameter></paramdef>
566 <paramdef>FcValue <parameter>value</parameter></paramdef>
567 <paramdef>FcBool <parameter>append</parameter></paramdef>
571 <refsect1><title>Description</title>
573 FcPatternAddWeak is essentially the same as FcPatternAdd except that any
574 values added to the list have binding <parameter>weak</parameter> instead of <parameter>strong</parameter>.
579 fontconfig/doc/func.sgml
581 Copyright © 2003 Keith Packard
583 Permission to use, copy, modify, distribute, and sell this software and its
584 documentation for any purpose is hereby granted without fee, provided that
585 the above copyright notice appear in all copies and that both that
586 copyright notice and this permission notice appear in supporting
587 documentation, and that the name of the author(s) not be used in
588 advertising or publicity pertaining to distribution of the software without
589 specific, written prior permission. The authors make no
590 representations about the suitability of this software for any purpose. It
591 is provided "as is" without express or implied warranty.
593 THE AUTHOR(S) DISCLAIMS ALL WARRANTIES WITH REGARD TO THIS SOFTWARE,
594 INCLUDING ALL IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS, IN NO
595 EVENT SHALL THE AUTHOR(S) BE LIABLE FOR ANY SPECIAL, INDIRECT OR
596 CONSEQUENTIAL DAMAGES OR ANY DAMAGES WHATSOEVER RESULTING FROM LOSS OF USE,
597 DATA OR PROFITS, WHETHER IN AN ACTION OF CONTRACT, NEGLIGENCE OR OTHER
598 TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION WITH THE USE OR
599 PERFORMANCE OF THIS SOFTWARE.
601 <refentry id="FcPatternAdd-Type">
603 <refentrytitle>FcPatternAdd-Type</refentrytitle>
604 <manvolnum>3</manvolnum>
605 <refmiscinfo class="software">Fontconfig &version;</refmiscinfo>
608 <refname>FcPatternAddInteger</refname>
609 <refname>FcPatternAddDouble</refname>
610 <refname>FcPatternAddString</refname>
611 <refname>FcPatternAddMatrix</refname>
612 <refname>FcPatternAddCharSet</refname>
613 <refname>FcPatternAddBool</refname>
614 <refname>FcPatternAddFTFace</refname>
615 <refname>FcPatternAddLangSet</refname>
616 <refname>FcPatternAddRange</refname>
617 <refpurpose>Add a typed value to a pattern</refpurpose>
622 #include <fontconfig/fontconfig.h>
625 <funcdef>FcBool <function>FcPatternAddInteger</function></funcdef>
626 <paramdef>FcPattern *<parameter>p</parameter></paramdef>
627 <paramdef>const char *<parameter>object</parameter></paramdef>
628 <paramdef>int <parameter>i</parameter></paramdef>
631 <funcdef>FcBool <function>FcPatternAddDouble</function></funcdef>
632 <paramdef>FcPattern *<parameter>p</parameter></paramdef>
633 <paramdef>const char *<parameter>object</parameter></paramdef>
634 <paramdef>double <parameter>d</parameter></paramdef>
637 <funcdef>FcBool <function>FcPatternAddString</function></funcdef>
638 <paramdef>FcPattern *<parameter>p</parameter></paramdef>
639 <paramdef>const char *<parameter>object</parameter></paramdef>
640 <paramdef>const FcChar8 *<parameter>s</parameter></paramdef>
643 <funcdef>FcBool <function>FcPatternAddMatrix</function></funcdef>
644 <paramdef>FcPattern *<parameter>p</parameter></paramdef>
645 <paramdef>const char *<parameter>object</parameter></paramdef>
646 <paramdef>const FcMatrix *<parameter>m</parameter></paramdef>
649 <funcdef>FcBool <function>FcPatternAddCharSet</function></funcdef>
650 <paramdef>FcPattern *<parameter>p</parameter></paramdef>
651 <paramdef>const char *<parameter>object</parameter></paramdef>
652 <paramdef>const FcCharSet *<parameter>c</parameter></paramdef>
655 <funcdef>FcBool <function>FcPatternAddBool</function></funcdef>
656 <paramdef>FcPattern *<parameter>p</parameter></paramdef>
657 <paramdef>const char *<parameter>object</parameter></paramdef>
658 <paramdef>FcBool <parameter>b</parameter></paramdef>
661 <funcdef>FcBool <function>FcPatternAddFTFace</function></funcdef>
662 <paramdef>FcPattern *<parameter>p</parameter></paramdef>
663 <paramdef>const char *<parameter>object</parameter></paramdef>
664 <paramdef>const FT_Face<parameter>f</parameter></paramdef>
667 <funcdef>FcBool <function>FcPatternAddLangSet</function></funcdef>
668 <paramdef>FcPattern *<parameter>p</parameter></paramdef>
669 <paramdef>const char *<parameter>object</parameter></paramdef>
670 <paramdef>const FcLangSet *<parameter>l</parameter></paramdef>
673 <funcdef>FcBool <function>FcPatternAddRange</function></funcdef>
674 <paramdef>FcPattern *<parameter>p</parameter></paramdef>
675 <paramdef>const char *<parameter>object</parameter></paramdef>
676 <paramdef>const FcRange *<parameter>r</parameter></paramdef>
680 <refsect1><title>Description</title>
682 These are all convenience functions that insert objects of the specified
683 type into the pattern. Use these in preference to FcPatternAdd as they
684 will provide compile-time typechecking. These all append values to
685 any existing list of values.
687 <function>FcPatternAddRange</function> are available since 2.11.91.
692 fontconfig/doc/func.sgml
694 Copyright © 2003 Keith Packard
696 Permission to use, copy, modify, distribute, and sell this software and its
697 documentation for any purpose is hereby granted without fee, provided that
698 the above copyright notice appear in all copies and that both that
699 copyright notice and this permission notice appear in supporting
700 documentation, and that the name of the author(s) not be used in
701 advertising or publicity pertaining to distribution of the software without
702 specific, written prior permission. The authors make no
703 representations about the suitability of this software for any purpose. It
704 is provided "as is" without express or implied warranty.
706 THE AUTHOR(S) DISCLAIMS ALL WARRANTIES WITH REGARD TO THIS SOFTWARE,
707 INCLUDING ALL IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS, IN NO
708 EVENT SHALL THE AUTHOR(S) BE LIABLE FOR ANY SPECIAL, INDIRECT OR
709 CONSEQUENTIAL DAMAGES OR ANY DAMAGES WHATSOEVER RESULTING FROM LOSS OF USE,
710 DATA OR PROFITS, WHETHER IN AN ACTION OF CONTRACT, NEGLIGENCE OR OTHER
711 TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION WITH THE USE OR
712 PERFORMANCE OF THIS SOFTWARE.
714 <refentry id="FcPatternGetWithBinding">
716 <refentrytitle>FcPatternGetWithBinding</refentrytitle>
717 <manvolnum>3</manvolnum>
718 <refmiscinfo class="software">Fontconfig &version;</refmiscinfo>
721 <refname>FcPatternGetWithBinding</refname>
722 <refpurpose>Return a value with binding from a pattern</refpurpose>
727 #include <fontconfig/fontconfig.h>
730 <funcdef>FcResult <function>FcPatternGetWithBinding</function></funcdef>
731 <paramdef>FcPattern *<parameter>p</parameter></paramdef>
732 <paramdef>const char *<parameter>object</parameter></paramdef>
733 <paramdef>int <parameter>id</parameter></paramdef>
734 <paramdef>FcValue *<parameter>v</parameter></paramdef>
735 <paramdef>FcValueBinding *<parameter>b</parameter></paramdef>
739 <refsect1><title>Description</title>
741 Returns in <parameter>v</parameter> the <parameter>id</parameter>'th value
742 and <parameter>b</parameter> binding for that associated with the property
743 <parameter>object</parameter>.
744 The Value returned is not a copy, but rather refers to the data stored
745 within the pattern directly. Applications must not free this value.
748 <refsect1><title>Since</title>
749 <para>version 2.12.5</para>
753 fontconfig/doc/func.sgml
755 Copyright © 2003 Keith Packard
757 Permission to use, copy, modify, distribute, and sell this software and its
758 documentation for any purpose is hereby granted without fee, provided that
759 the above copyright notice appear in all copies and that both that
760 copyright notice and this permission notice appear in supporting
761 documentation, and that the name of the author(s) not be used in
762 advertising or publicity pertaining to distribution of the software without
763 specific, written prior permission. The authors make no
764 representations about the suitability of this software for any purpose. It
765 is provided "as is" without express or implied warranty.
767 THE AUTHOR(S) DISCLAIMS ALL WARRANTIES WITH REGARD TO THIS SOFTWARE,
768 INCLUDING ALL IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS, IN NO
769 EVENT SHALL THE AUTHOR(S) BE LIABLE FOR ANY SPECIAL, INDIRECT OR
770 CONSEQUENTIAL DAMAGES OR ANY DAMAGES WHATSOEVER RESULTING FROM LOSS OF USE,
771 DATA OR PROFITS, WHETHER IN AN ACTION OF CONTRACT, NEGLIGENCE OR OTHER
772 TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION WITH THE USE OR
773 PERFORMANCE OF THIS SOFTWARE.
775 <refentry id="FcPatternGet">
777 <refentrytitle>FcPatternGet</refentrytitle>
778 <manvolnum>3</manvolnum>
779 <refmiscinfo class="software">Fontconfig &version;</refmiscinfo>
782 <refname>FcPatternGet</refname>
783 <refpurpose>Return a value from a pattern</refpurpose>
788 #include <fontconfig/fontconfig.h>
791 <funcdef>FcResult <function>FcPatternGet</function></funcdef>
792 <paramdef>FcPattern *<parameter>p</parameter></paramdef>
793 <paramdef>const char *<parameter>object</parameter></paramdef>
794 <paramdef>int <parameter>id</parameter></paramdef>
795 <paramdef>FcValue *<parameter>v</parameter></paramdef>
799 <refsect1><title>Description</title>
801 Returns in <parameter>v</parameter> the <parameter>id</parameter>'th value
802 associated with the property <parameter>object</parameter>.
803 The value returned is not a copy, but rather refers to the data stored
804 within the pattern directly. Applications must not free this value.
809 fontconfig/doc/func.sgml
811 Copyright © 2003 Keith Packard
813 Permission to use, copy, modify, distribute, and sell this software and its
814 documentation for any purpose is hereby granted without fee, provided that
815 the above copyright notice appear in all copies and that both that
816 copyright notice and this permission notice appear in supporting
817 documentation, and that the name of the author(s) not be used in
818 advertising or publicity pertaining to distribution of the software without
819 specific, written prior permission. The authors make no
820 representations about the suitability of this software for any purpose. It
821 is provided "as is" without express or implied warranty.
823 THE AUTHOR(S) DISCLAIMS ALL WARRANTIES WITH REGARD TO THIS SOFTWARE,
824 INCLUDING ALL IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS, IN NO
825 EVENT SHALL THE AUTHOR(S) BE LIABLE FOR ANY SPECIAL, INDIRECT OR
826 CONSEQUENTIAL DAMAGES OR ANY DAMAGES WHATSOEVER RESULTING FROM LOSS OF USE,
827 DATA OR PROFITS, WHETHER IN AN ACTION OF CONTRACT, NEGLIGENCE OR OTHER
828 TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION WITH THE USE OR
829 PERFORMANCE OF THIS SOFTWARE.
831 <refentry id="FcPatternGet-Type">
833 <refentrytitle>FcPatternGet-Type</refentrytitle>
834 <manvolnum>3</manvolnum>
835 <refmiscinfo class="software">Fontconfig &version;</refmiscinfo>
838 <refname>FcPatternGetInteger</refname>
839 <refname>FcPatternGetDouble</refname>
840 <refname>FcPatternGetString</refname>
841 <refname>FcPatternGetMatrix</refname>
842 <refname>FcPatternGetCharSet</refname>
843 <refname>FcPatternGetBool</refname>
844 <refname>FcPatternGetFTFace</refname>
845 <refname>FcPatternGetLangSet</refname>
846 <refname>FcPatternGetRange</refname>
847 <refpurpose>Return a typed value from a pattern</refpurpose>
852 #include <fontconfig/fontconfig.h>
855 <funcdef>FcResult <function>FcPatternGetInteger</function></funcdef>
856 <paramdef>FcPattern *<parameter>p</parameter></paramdef>
857 <paramdef>const char *<parameter>object</parameter></paramdef>
858 <paramdef>int <parameter>n</parameter></paramdef>
859 <paramdef>int *<parameter>i</parameter></paramdef>
862 <funcdef>FcResult <function>FcPatternGetDouble</function></funcdef>
863 <paramdef>FcPattern *<parameter>p</parameter></paramdef>
864 <paramdef>const char *<parameter>object</parameter></paramdef>
865 <paramdef>int <parameter>n</parameter></paramdef>
866 <paramdef>double *<parameter>d</parameter></paramdef>
869 <funcdef>FcResult <function>FcPatternGetString</function></funcdef>
870 <paramdef>FcPattern *<parameter>p</parameter></paramdef>
871 <paramdef>const char *<parameter>object</parameter></paramdef>
872 <paramdef>int <parameter>n</parameter></paramdef>
873 <paramdef>FcChar8 **<parameter>s</parameter></paramdef>
876 <funcdef>FcResult <function>FcPatternGetMatrix</function></funcdef>
877 <paramdef>FcPattern *<parameter>p</parameter></paramdef>
878 <paramdef>const char *<parameter>object</parameter></paramdef>
879 <paramdef>int <parameter>n</parameter></paramdef>
880 <paramdef>FcMatrix **<parameter>s</parameter></paramdef>
883 <funcdef>FcResult <function>FcPatternGetCharSet</function></funcdef>
884 <paramdef>FcPattern *<parameter>p</parameter></paramdef>
885 <paramdef>const char *<parameter>object</parameter></paramdef>
886 <paramdef>int <parameter>n</parameter></paramdef>
887 <paramdef>FcCharSet **<parameter>c</parameter></paramdef>
890 <funcdef>FcResult <function>FcPatternGetBool</function></funcdef>
891 <paramdef>FcPattern *<parameter>p</parameter></paramdef>
892 <paramdef>const char *<parameter>object</parameter></paramdef>
893 <paramdef>int <parameter>n</parameter></paramdef>
894 <paramdef>FcBool *<parameter>b</parameter></paramdef>
897 <funcdef>FcResult <function>FcPatternGetFTFace</function></funcdef>
898 <paramdef>FcPattern *<parameter>p</parameter></paramdef>
899 <paramdef>const char *<parameter>object</parameter></paramdef>
900 <paramdef>int <parameter>n</parameter></paramdef>
901 <paramdef>FT_Face *<parameter>f</parameter></paramdef>
904 <funcdef>FcResult <function>FcPatternGetLangSet</function></funcdef>
905 <paramdef>FcPattern *<parameter>p</parameter></paramdef>
906 <paramdef>const char *<parameter>object</parameter></paramdef>
907 <paramdef>int <parameter>n</parameter></paramdef>
908 <paramdef>FcLangSet **<parameter>l</parameter></paramdef>
911 <funcdef>FcResult <function>FcPatternGetRange</function></funcdef>
912 <paramdef>FcPattern *<parameter>p</parameter></paramdef>
913 <paramdef>const char *<parameter>object</parameter></paramdef>
914 <paramdef>int <parameter>n</parameter></paramdef>
915 <paramdef>FcRange **<parameter>r</parameter></paramdef>
919 <refsect1><title>Description</title>
921 These are convenience functions that call FcPatternGet and verify that the
922 returned data is of the expected type. They return FcResultTypeMismatch if
923 this is not the case. Note that these (like FcPatternGet) do not make a
924 copy of any data structure referenced by the return value. Use these
925 in preference to FcPatternGet to provide compile-time typechecking.
927 <function>FcPatternGetRange</function> are available since 2.11.91.
932 fontconfig/doc/func.sgml
934 Copyright © 2003 Keith Packard
936 Permission to use, copy, modify, distribute, and sell this software and its
937 documentation for any purpose is hereby granted without fee, provided that
938 the above copyright notice appear in all copies and that both that
939 copyright notice and this permission notice appear in supporting
940 documentation, and that the name of the author(s) not be used in
941 advertising or publicity pertaining to distribution of the software without
942 specific, written prior permission. The authors make no
943 representations about the suitability of this software for any purpose. It
944 is provided "as is" without express or implied warranty.
946 THE AUTHOR(S) DISCLAIMS ALL WARRANTIES WITH REGARD TO THIS SOFTWARE,
947 INCLUDING ALL IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS, IN NO
948 EVENT SHALL THE AUTHOR(S) BE LIABLE FOR ANY SPECIAL, INDIRECT OR
949 CONSEQUENTIAL DAMAGES OR ANY DAMAGES WHATSOEVER RESULTING FROM LOSS OF USE,
950 DATA OR PROFITS, WHETHER IN AN ACTION OF CONTRACT, NEGLIGENCE OR OTHER
951 TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION WITH THE USE OR
952 PERFORMANCE OF THIS SOFTWARE.
954 <refentry id="FcPatternBuild">
956 <refentrytitle>FcPatternBuild</refentrytitle>
957 <manvolnum>3</manvolnum>
958 <refmiscinfo class="software">Fontconfig &version;</refmiscinfo>
961 <refname>FcPatternBuild</refname>
962 <refname>FcPatternVaBuild</refname>
963 <refname>FcPatternVapBuild</refname>
964 <refpurpose>Create patterns from arguments</refpurpose>
969 #include <fontconfig/fontconfig.h>
972 <funcdef>FcPattern * <function>FcPatternBuild</function></funcdef>
973 <paramdef>FcPattern *<parameter>pattern</parameter></paramdef>
974 <paramdef>...<parameter></parameter></paramdef>
977 <funcdef>FcPattern * <function>FcPatternVaBuild</function></funcdef>
978 <paramdef>FcPattern *<parameter>pattern</parameter></paramdef>
979 <paramdef>va_list <parameter>va</parameter></paramdef>
982 <funcdef>void <function>FcPatternVapBuild</function></funcdef>
983 <paramdef>FcPattern *<parameter>result</parameter></paramdef>
984 <paramdef>FcPattern *<parameter>pattern</parameter></paramdef>
985 <paramdef>va_list <parameter>va</parameter></paramdef>
989 <refsect1><title>Description</title>
991 Builds a pattern using a list of objects, types and values. Each
992 value to be entered in the pattern is specified with three arguments:
996 Object name, a string describing the property to be added.
997 </para></listitem><listitem><para>
998 Object type, one of the FcType enumerated values
999 </para></listitem><listitem><para>
1000 Value, not an FcValue, but the raw type as passed to any of the
1001 FcPatternAdd<type> functions. Must match the type of the second
1006 The argument list is terminated by a null object name, no object type nor
1007 value need be passed for this. The values are added to `pattern', if
1008 `pattern' is null, a new pattern is created. In either case, the pattern is
1012 pattern = FcPatternBuild (0, FC_FAMILY, FcTypeString, "Times", (char *) 0);
1015 FcPatternVaBuild is used when the arguments are already in the form of a
1016 varargs value. FcPatternVapBuild is a macro version of FcPatternVaBuild
1017 which returns its result directly in the <parameter>result</parameter>
1023 fontconfig/doc/func.sgml
1025 Copyright © 2003 Keith Packard
1027 Permission to use, copy, modify, distribute, and sell this software and its
1028 documentation for any purpose is hereby granted without fee, provided that
1029 the above copyright notice appear in all copies and that both that
1030 copyright notice and this permission notice appear in supporting
1031 documentation, and that the name of the author(s) not be used in
1032 advertising or publicity pertaining to distribution of the software without
1033 specific, written prior permission. The authors make no
1034 representations about the suitability of this software for any purpose. It
1035 is provided "as is" without express or implied warranty.
1037 THE AUTHOR(S) DISCLAIMS ALL WARRANTIES WITH REGARD TO THIS SOFTWARE,
1038 INCLUDING ALL IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS, IN NO
1039 EVENT SHALL THE AUTHOR(S) BE LIABLE FOR ANY SPECIAL, INDIRECT OR
1040 CONSEQUENTIAL DAMAGES OR ANY DAMAGES WHATSOEVER RESULTING FROM LOSS OF USE,
1041 DATA OR PROFITS, WHETHER IN AN ACTION OF CONTRACT, NEGLIGENCE OR OTHER
1042 TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION WITH THE USE OR
1043 PERFORMANCE OF THIS SOFTWARE.
1045 <refentry id="FcPatternDel">
1047 <refentrytitle>FcPatternDel</refentrytitle>
1048 <manvolnum>3</manvolnum>
1049 <refmiscinfo class="software">Fontconfig &version;</refmiscinfo>
1052 <refname>FcPatternDel</refname>
1053 <refpurpose>Delete a property from a pattern</refpurpose>
1058 #include <fontconfig/fontconfig.h>
1061 <funcdef>FcBool <function>FcPatternDel</function></funcdef>
1062 <paramdef>FcPattern *<parameter>p</parameter></paramdef>
1063 <paramdef>const char *<parameter>object</parameter></paramdef>
1067 <refsect1><title>Description</title>
1069 Deletes all values associated with the property `object', returning
1070 whether the property existed or not.
1075 fontconfig/doc/func.sgml
1077 Copyright © 2003 Keith Packard
1079 Permission to use, copy, modify, distribute, and sell this software and its
1080 documentation for any purpose is hereby granted without fee, provided that
1081 the above copyright notice appear in all copies and that both that
1082 copyright notice and this permission notice appear in supporting
1083 documentation, and that the name of the author(s) not be used in
1084 advertising or publicity pertaining to distribution of the software without
1085 specific, written prior permission. The authors make no
1086 representations about the suitability of this software for any purpose. It
1087 is provided "as is" without express or implied warranty.
1089 THE AUTHOR(S) DISCLAIMS ALL WARRANTIES WITH REGARD TO THIS SOFTWARE,
1090 INCLUDING ALL IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS, IN NO
1091 EVENT SHALL THE AUTHOR(S) BE LIABLE FOR ANY SPECIAL, INDIRECT OR
1092 CONSEQUENTIAL DAMAGES OR ANY DAMAGES WHATSOEVER RESULTING FROM LOSS OF USE,
1093 DATA OR PROFITS, WHETHER IN AN ACTION OF CONTRACT, NEGLIGENCE OR OTHER
1094 TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION WITH THE USE OR
1095 PERFORMANCE OF THIS SOFTWARE.
1097 <refentry id="FcPatternRemove">
1099 <refentrytitle>FcPatternRemove</refentrytitle>
1100 <manvolnum>3</manvolnum>
1101 <refmiscinfo class="software">Fontconfig &version;</refmiscinfo>
1104 <refname>FcPatternRemove</refname>
1105 <refpurpose>Remove one object of the specified type from the pattern</refpurpose>
1110 #include <fontconfig/fontconfig.h>
1113 <funcdef>FcBool <function>FcPatternRemove</function></funcdef>
1114 <paramdef>FcPattern *<parameter>p</parameter></paramdef>
1115 <paramdef>const char *<parameter>object</parameter></paramdef>
1116 <paramdef>int <parameter>id</parameter></paramdef>
1120 <refsect1><title>Description</title>
1122 Removes the value associated with the property `object' at position `id', returning
1123 whether the property existed and had a value at that position or not.
1128 fontconfig/doc/func.sgml
1130 Copyright © 2003 Keith Packard
1132 Permission to use, copy, modify, distribute, and sell this software and its
1133 documentation for any purpose is hereby granted without fee, provided that
1134 the above copyright notice appear in all copies and that both that
1135 copyright notice and this permission notice appear in supporting
1136 documentation, and that the name of the author(s) not be used in
1137 advertising or publicity pertaining to distribution of the software without
1138 specific, written prior permission. The authors make no
1139 representations about the suitability of this software for any purpose. It
1140 is provided "as is" without express or implied warranty.
1142 THE AUTHOR(S) DISCLAIMS ALL WARRANTIES WITH REGARD TO THIS SOFTWARE,
1143 INCLUDING ALL IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS, IN NO
1144 EVENT SHALL THE AUTHOR(S) BE LIABLE FOR ANY SPECIAL, INDIRECT OR
1145 CONSEQUENTIAL DAMAGES OR ANY DAMAGES WHATSOEVER RESULTING FROM LOSS OF USE,
1146 DATA OR PROFITS, WHETHER IN AN ACTION OF CONTRACT, NEGLIGENCE OR OTHER
1147 TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION WITH THE USE OR
1148 PERFORMANCE OF THIS SOFTWARE.
1150 <refentry id="FcPatternIterStart">
1152 <refentrytitle>FcPatternIterStart</refentrytitle>
1153 <manvolnum>3</manvolnum>
1154 <refmiscinfo class="software">Fontconfig &version;</refmiscinfo>
1157 <refname>FcPatternIterStart</refname>
1158 <refpurpose>Initialize the iterator with the first iterator in the pattern</refpurpose>
1163 #include <fontconfig/fontconfig.h>
1166 <funcdef>void <function>FcPatternIterStart</function></funcdef>
1167 <paramdef>const FcPattern *<parameter>p</parameter></paramdef>
1168 <paramdef>FcPatternIter *<parameter>iter</parameter></paramdef>
1172 <refsect1><title>Description</title>
1174 Initialize <parameter>iter</parameter> with the first iterator in <parameter>p</parameter>.
1175 If there are no objects in <parameter>p</parameter>, <parameter>iter</parameter>
1176 will not have any valid data.
1179 <refsect1><title>Since</title>
1180 <para>version 2.13.1</para>
1184 fontconfig/doc/func.sgml
1186 Copyright © 2003 Keith Packard
1188 Permission to use, copy, modify, distribute, and sell this software and its
1189 documentation for any purpose is hereby granted without fee, provided that
1190 the above copyright notice appear in all copies and that both that
1191 copyright notice and this permission notice appear in supporting
1192 documentation, and that the name of the author(s) not be used in
1193 advertising or publicity pertaining to distribution of the software without
1194 specific, written prior permission. The authors make no
1195 representations about the suitability of this software for any purpose. It
1196 is provided "as is" without express or implied warranty.
1198 THE AUTHOR(S) DISCLAIMS ALL WARRANTIES WITH REGARD TO THIS SOFTWARE,
1199 INCLUDING ALL IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS, IN NO
1200 EVENT SHALL THE AUTHOR(S) BE LIABLE FOR ANY SPECIAL, INDIRECT OR
1201 CONSEQUENTIAL DAMAGES OR ANY DAMAGES WHATSOEVER RESULTING FROM LOSS OF USE,
1202 DATA OR PROFITS, WHETHER IN AN ACTION OF CONTRACT, NEGLIGENCE OR OTHER
1203 TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION WITH THE USE OR
1204 PERFORMANCE OF THIS SOFTWARE.
1206 <refentry id="FcPatternIterNext">
1208 <refentrytitle>FcPatternIterNext</refentrytitle>
1209 <manvolnum>3</manvolnum>
1210 <refmiscinfo class="software">Fontconfig &version;</refmiscinfo>
1213 <refname>FcPatternIterNext</refname>
1214 <refpurpose></refpurpose>
1219 #include <fontconfig/fontconfig.h>
1222 <funcdef>FcBool <function>FcPatternIterNext</function></funcdef>
1223 <paramdef>const FcPattern *<parameter>p</parameter></paramdef>
1224 <paramdef>FcPatternIter *<parameter>iter</parameter></paramdef>
1228 <refsect1><title>Description</title>
1230 Set <parameter>iter</parameter> to point to the next object in <parameter>p</parameter>
1231 and returns FcTrue if <parameter>iter</parameter> has been changed to the next object.
1232 returns FcFalse otherwise.
1235 <refsect1><title>Since</title>
1236 <para>version 2.13.1</para>
1240 fontconfig/doc/func.sgml
1242 Copyright © 2003 Keith Packard
1244 Permission to use, copy, modify, distribute, and sell this software and its
1245 documentation for any purpose is hereby granted without fee, provided that
1246 the above copyright notice appear in all copies and that both that
1247 copyright notice and this permission notice appear in supporting
1248 documentation, and that the name of the author(s) not be used in
1249 advertising or publicity pertaining to distribution of the software without
1250 specific, written prior permission. The authors make no
1251 representations about the suitability of this software for any purpose. It
1252 is provided "as is" without express or implied warranty.
1254 THE AUTHOR(S) DISCLAIMS ALL WARRANTIES WITH REGARD TO THIS SOFTWARE,
1255 INCLUDING ALL IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS, IN NO
1256 EVENT SHALL THE AUTHOR(S) BE LIABLE FOR ANY SPECIAL, INDIRECT OR
1257 CONSEQUENTIAL DAMAGES OR ANY DAMAGES WHATSOEVER RESULTING FROM LOSS OF USE,
1258 DATA OR PROFITS, WHETHER IN AN ACTION OF CONTRACT, NEGLIGENCE OR OTHER
1259 TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION WITH THE USE OR
1260 PERFORMANCE OF THIS SOFTWARE.
1262 <refentry id="FcPatternIterEqual">
1264 <refentrytitle>FcPatternIterEqual</refentrytitle>
1265 <manvolnum>3</manvolnum>
1266 <refmiscinfo class="software">Fontconfig &version;</refmiscinfo>
1269 <refname>FcPatternIterEqual</refname>
1270 <refpurpose>Compare iterators</refpurpose>
1275 #include <fontconfig/fontconfig.h>
1278 <funcdef>FcBool <function>FcPatternIterEqual</function></funcdef>
1279 <paramdef>const FcPattern *<parameter>p1</parameter></paramdef>
1280 <paramdef>FcPatternIter *<parameter>i1</parameter></paramdef>
1281 <paramdef>const FcPattern *<parameter>p2</parameter></paramdef>
1282 <paramdef>FcPatternIter *<parameter>i2</parameter></paramdef>
1286 <refsect1><title>Description</title>
1288 Return FcTrue if both <parameter>i1</parameter> and <parameter>i2</parameter>
1289 point to same object and contains same values. return FcFalse otherwise.
1292 <refsect1><title>Since</title>
1293 <para>version 2.13.1</para>
1297 fontconfig/doc/func.sgml
1299 Copyright © 2003 Keith Packard
1301 Permission to use, copy, modify, distribute, and sell this software and its
1302 documentation for any purpose is hereby granted without fee, provided that
1303 the above copyright notice appear in all copies and that both that
1304 copyright notice and this permission notice appear in supporting
1305 documentation, and that the name of the author(s) not be used in
1306 advertising or publicity pertaining to distribution of the software without
1307 specific, written prior permission. The authors make no
1308 representations about the suitability of this software for any purpose. It
1309 is provided "as is" without express or implied warranty.
1311 THE AUTHOR(S) DISCLAIMS ALL WARRANTIES WITH REGARD TO THIS SOFTWARE,
1312 INCLUDING ALL IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS, IN NO
1313 EVENT SHALL THE AUTHOR(S) BE LIABLE FOR ANY SPECIAL, INDIRECT OR
1314 CONSEQUENTIAL DAMAGES OR ANY DAMAGES WHATSOEVER RESULTING FROM LOSS OF USE,
1315 DATA OR PROFITS, WHETHER IN AN ACTION OF CONTRACT, NEGLIGENCE OR OTHER
1316 TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION WITH THE USE OR
1317 PERFORMANCE OF THIS SOFTWARE.
1319 <refentry id="FcPatternFindIter">
1321 <refentrytitle>FcPatternFindIter</refentrytitle>
1322 <manvolnum>3</manvolnum>
1323 <refmiscinfo class="software">Fontconfig &version;</refmiscinfo>
1326 <refname>FcPatternFindIter</refname>
1327 <refpurpose>Set the iterator to point to the object in the pattern</refpurpose>
1332 #include <fontconfig/fontconfig.h>
1335 <funcdef>FcBool <function>FcPatternFindIter</function></funcdef>
1336 <paramdef>const FcPattern *<parameter>p</parameter></paramdef>
1337 <paramdef>FcPatternIter *<parameter>iter</parameter></paramdef>
1338 <paramdef>const char *<parameter>object</parameter></paramdef>
1342 <refsect1><title>Description</title>
1344 Set <parameter>iter</parameter> to point to <parameter>object</parameter> in
1345 <parameter>p</parameter> if any and returns FcTrue. returns FcFalse otherwise.
1348 <refsect1><title>Since</title>
1349 <para>version 2.13.1</para>
1353 fontconfig/doc/func.sgml
1355 Copyright © 2003 Keith Packard
1357 Permission to use, copy, modify, distribute, and sell this software and its
1358 documentation for any purpose is hereby granted without fee, provided that
1359 the above copyright notice appear in all copies and that both that
1360 copyright notice and this permission notice appear in supporting
1361 documentation, and that the name of the author(s) not be used in
1362 advertising or publicity pertaining to distribution of the software without
1363 specific, written prior permission. The authors make no
1364 representations about the suitability of this software for any purpose. It
1365 is provided "as is" without express or implied warranty.
1367 THE AUTHOR(S) DISCLAIMS ALL WARRANTIES WITH REGARD TO THIS SOFTWARE,
1368 INCLUDING ALL IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS, IN NO
1369 EVENT SHALL THE AUTHOR(S) BE LIABLE FOR ANY SPECIAL, INDIRECT OR
1370 CONSEQUENTIAL DAMAGES OR ANY DAMAGES WHATSOEVER RESULTING FROM LOSS OF USE,
1371 DATA OR PROFITS, WHETHER IN AN ACTION OF CONTRACT, NEGLIGENCE OR OTHER
1372 TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION WITH THE USE OR
1373 PERFORMANCE OF THIS SOFTWARE.
1375 <refentry id="FcPatternIterIsValid">
1377 <refentrytitle>FcPatternIterIsValid</refentrytitle>
1378 <manvolnum>3</manvolnum>
1379 <refmiscinfo class="software">Fontconfig &version;</refmiscinfo>
1382 <refname>FcPatternIterIsValid</refname>
1383 <refpurpose>Check whether the iterator is valid or not</refpurpose>
1388 #include <fontconfig/fontconfig.h>
1391 <funcdef>FcBool <function>FcPatternIterIsValid</function></funcdef>
1392 <paramdef>const FcPattern *<parameter>p</parameter></paramdef>
1393 <paramdef>FcPatternIter :<parameter>iter</parameter></paramdef>
1397 <refsect1><title>Description</title>
1399 Returns FcTrue if <parameter>iter</parameter> point to the valid entry
1400 in <parameter>p</parameter>. returns FcFalse otherwise.
1403 <refsect1><title>Since</title>
1404 <para>version 2.13.1</para>
1408 fontconfig/doc/func.sgml
1410 Copyright © 2003 Keith Packard
1412 Permission to use, copy, modify, distribute, and sell this software and its
1413 documentation for any purpose is hereby granted without fee, provided that
1414 the above copyright notice appear in all copies and that both that
1415 copyright notice and this permission notice appear in supporting
1416 documentation, and that the name of the author(s) not be used in
1417 advertising or publicity pertaining to distribution of the software without
1418 specific, written prior permission. The authors make no
1419 representations about the suitability of this software for any purpose. It
1420 is provided "as is" without express or implied warranty.
1422 THE AUTHOR(S) DISCLAIMS ALL WARRANTIES WITH REGARD TO THIS SOFTWARE,
1423 INCLUDING ALL IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS, IN NO
1424 EVENT SHALL THE AUTHOR(S) BE LIABLE FOR ANY SPECIAL, INDIRECT OR
1425 CONSEQUENTIAL DAMAGES OR ANY DAMAGES WHATSOEVER RESULTING FROM LOSS OF USE,
1426 DATA OR PROFITS, WHETHER IN AN ACTION OF CONTRACT, NEGLIGENCE OR OTHER
1427 TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION WITH THE USE OR
1428 PERFORMANCE OF THIS SOFTWARE.
1430 <refentry id="FcPatternIterGetObject">
1432 <refentrytitle>FcPatternIterGetObject</refentrytitle>
1433 <manvolnum>3</manvolnum>
1434 <refmiscinfo class="software">Fontconfig &version;</refmiscinfo>
1437 <refname>FcPatternIterGetObject</refname>
1438 <refpurpose>Returns an object name which the iterator point to</refpurpose>
1443 #include <fontconfig/fontconfig.h>
1446 <funcdef>const char * <function>FcPatternIterGetObject</function></funcdef>
1447 <paramdef>const FcPattern *<parameter>p</parameter></paramdef>
1448 <paramdef>FcPatternIter *<parameter>iter</parameter></paramdef>
1452 <refsect1><title>Description</title>
1454 Returns an object name in <parameter>p</parameter> which
1455 <parameter>iter</parameter> point to. returns NULL if
1456 <parameter>iter</parameter> isn't valid.
1459 <refsect1><title>Since</title>
1460 <para>version 2.13.1</para>
1464 fontconfig/doc/func.sgml
1466 Copyright © 2003 Keith Packard
1468 Permission to use, copy, modify, distribute, and sell this software and its
1469 documentation for any purpose is hereby granted without fee, provided that
1470 the above copyright notice appear in all copies and that both that
1471 copyright notice and this permission notice appear in supporting
1472 documentation, and that the name of the author(s) not be used in
1473 advertising or publicity pertaining to distribution of the software without
1474 specific, written prior permission. The authors make no
1475 representations about the suitability of this software for any purpose. It
1476 is provided "as is" without express or implied warranty.
1478 THE AUTHOR(S) DISCLAIMS ALL WARRANTIES WITH REGARD TO THIS SOFTWARE,
1479 INCLUDING ALL IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS, IN NO
1480 EVENT SHALL THE AUTHOR(S) BE LIABLE FOR ANY SPECIAL, INDIRECT OR
1481 CONSEQUENTIAL DAMAGES OR ANY DAMAGES WHATSOEVER RESULTING FROM LOSS OF USE,
1482 DATA OR PROFITS, WHETHER IN AN ACTION OF CONTRACT, NEGLIGENCE OR OTHER
1483 TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION WITH THE USE OR
1484 PERFORMANCE OF THIS SOFTWARE.
1486 <refentry id="FcPatternIterValueCount">
1488 <refentrytitle>FcPatternIterValueCount</refentrytitle>
1489 <manvolnum>3</manvolnum>
1490 <refmiscinfo class="software">Fontconfig &version;</refmiscinfo>
1493 <refname>FcPatternIterValueCount</refname>
1494 <refpurpose>Returns the number of the values which the iterator point to</refpurpose>
1499 #include <fontconfig/fontconfig.h>
1502 <funcdef>int <function>FcPatternIterValueCount</function></funcdef>
1503 <paramdef>const FcPattern *<parameter>p</parameter></paramdef>
1504 <paramdef>FcPatternIter *<parameter>iter</parameter></paramdef>
1508 <refsect1><title>Description</title>
1510 Returns the number of the values in the object which <parameter>iter</parameter>
1511 point to. if <parameter>iter</parameter> isn't valid, returns 0.
1514 <refsect1><title>Since</title>
1515 <para>version 2.13.1</para>
1519 fontconfig/doc/func.sgml
1521 Copyright © 2003 Keith Packard
1523 Permission to use, copy, modify, distribute, and sell this software and its
1524 documentation for any purpose is hereby granted without fee, provided that
1525 the above copyright notice appear in all copies and that both that
1526 copyright notice and this permission notice appear in supporting
1527 documentation, and that the name of the author(s) not be used in
1528 advertising or publicity pertaining to distribution of the software without
1529 specific, written prior permission. The authors make no
1530 representations about the suitability of this software for any purpose. It
1531 is provided "as is" without express or implied warranty.
1533 THE AUTHOR(S) DISCLAIMS ALL WARRANTIES WITH REGARD TO THIS SOFTWARE,
1534 INCLUDING ALL IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS, IN NO
1535 EVENT SHALL THE AUTHOR(S) BE LIABLE FOR ANY SPECIAL, INDIRECT OR
1536 CONSEQUENTIAL DAMAGES OR ANY DAMAGES WHATSOEVER RESULTING FROM LOSS OF USE,
1537 DATA OR PROFITS, WHETHER IN AN ACTION OF CONTRACT, NEGLIGENCE OR OTHER
1538 TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION WITH THE USE OR
1539 PERFORMANCE OF THIS SOFTWARE.
1541 <refentry id="FcPatternIterGetValue">
1543 <refentrytitle>FcPatternIterGetValue</refentrytitle>
1544 <manvolnum>3</manvolnum>
1545 <refmiscinfo class="software">Fontconfig &version;</refmiscinfo>
1548 <refname>FcPatternIterGetValue</refname>
1549 <refpurpose>Returns a value which the iterator point to</refpurpose>
1554 #include <fontconfig/fontconfig.h>
1557 <funcdef>FcResult <function>FcPatternIterGetValue</function></funcdef>
1558 <paramdef>const FcPattern *<parameter>p</parameter></paramdef>
1559 <paramdef>FcPatternIter *<parameter>iter</parameter></paramdef>
1560 <paramdef>int<parameter>id</parameter></paramdef>
1561 <paramdef>FcValue *<parameter>v</parameter></paramdef>
1562 <paramdef>FcValueBinding *<parameter>b</parameter></paramdef>
1566 <refsect1><title>Description</title>
1568 Returns in <parameter>v</parameter> the <parameter>id</parameter>'th value
1569 which <parameter>iter</parameter> point to. also binding to <parameter>b</parameter>
1571 The value returned is not a copy, but rather refers to the data stored
1572 within the pattern directly. Applications must not free this value.
1575 <refsect1><title>Since</title>
1576 <para>version 2.13.1</para>
1580 fontconfig/doc/func.sgml
1582 Copyright © 2003 Keith Packard
1584 Permission to use, copy, modify, distribute, and sell this software and its
1585 documentation for any purpose is hereby granted without fee, provided that
1586 the above copyright notice appear in all copies and that both that
1587 copyright notice and this permission notice appear in supporting
1588 documentation, and that the name of the author(s) not be used in
1589 advertising or publicity pertaining to distribution of the software without
1590 specific, written prior permission. The authors make no
1591 representations about the suitability of this software for any purpose. It
1592 is provided "as is" without express or implied warranty.
1594 THE AUTHOR(S) DISCLAIMS ALL WARRANTIES WITH REGARD TO THIS SOFTWARE,
1595 INCLUDING ALL IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS, IN NO
1596 EVENT SHALL THE AUTHOR(S) BE LIABLE FOR ANY SPECIAL, INDIRECT OR
1597 CONSEQUENTIAL DAMAGES OR ANY DAMAGES WHATSOEVER RESULTING FROM LOSS OF USE,
1598 DATA OR PROFITS, WHETHER IN AN ACTION OF CONTRACT, NEGLIGENCE OR OTHER
1599 TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION WITH THE USE OR
1600 PERFORMANCE OF THIS SOFTWARE.
1602 <refentry id="FcPatternPrint">
1604 <refentrytitle>FcPatternPrint</refentrytitle>
1605 <manvolnum>3</manvolnum>
1606 <refmiscinfo class="software">Fontconfig &version;</refmiscinfo>
1609 <refname>FcPatternPrint</refname>
1610 <refpurpose>Print a pattern for debugging</refpurpose>
1615 #include <fontconfig/fontconfig.h>
1618 <funcdef>void <function>FcPatternPrint</function></funcdef>
1619 <paramdef>const FcPattern *<parameter>p</parameter></paramdef>
1623 <refsect1><title>Description</title>
1625 Prints an easily readable version of the pattern to stdout. There is
1626 no provision for reparsing data in this format, it's just for diagnostics
1632 fontconfig/doc/func.sgml
1634 Copyright © 2003 Keith Packard
1636 Permission to use, copy, modify, distribute, and sell this software and its
1637 documentation for any purpose is hereby granted without fee, provided that
1638 the above copyright notice appear in all copies and that both that
1639 copyright notice and this permission notice appear in supporting
1640 documentation, and that the name of the author(s) not be used in
1641 advertising or publicity pertaining to distribution of the software without
1642 specific, written prior permission. The authors make no
1643 representations about the suitability of this software for any purpose. It
1644 is provided "as is" without express or implied warranty.
1646 THE AUTHOR(S) DISCLAIMS ALL WARRANTIES WITH REGARD TO THIS SOFTWARE,
1647 INCLUDING ALL IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS, IN NO
1648 EVENT SHALL THE AUTHOR(S) BE LIABLE FOR ANY SPECIAL, INDIRECT OR
1649 CONSEQUENTIAL DAMAGES OR ANY DAMAGES WHATSOEVER RESULTING FROM LOSS OF USE,
1650 DATA OR PROFITS, WHETHER IN AN ACTION OF CONTRACT, NEGLIGENCE OR OTHER
1651 TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION WITH THE USE OR
1652 PERFORMANCE OF THIS SOFTWARE.
1654 <refentry id="FcDefaultSubstitute">
1656 <refentrytitle>FcDefaultSubstitute</refentrytitle>
1657 <manvolnum>3</manvolnum>
1658 <refmiscinfo class="software">Fontconfig &version;</refmiscinfo>
1661 <refname>FcDefaultSubstitute</refname>
1662 <refpurpose>Perform default substitutions in a pattern</refpurpose>
1667 #include <fontconfig/fontconfig.h>
1670 <funcdef>void <function>FcDefaultSubstitute</function></funcdef>
1671 <paramdef>FcPattern *<parameter>pattern</parameter></paramdef>
1675 <refsect1><title>Description</title>
1677 Supplies default values for underspecified font patterns:
1680 Patterns without a specified style or weight are set to Medium
1683 Patterns without a specified style or slant are set to Roman
1686 Patterns without a specified pixel size are given one computed from any
1687 specified point size (default 12), dpi (default 75) and scale (default 1).
1694 fontconfig/doc/func.sgml
1696 Copyright © 2003 Keith Packard
1698 Permission to use, copy, modify, distribute, and sell this software and its
1699 documentation for any purpose is hereby granted without fee, provided that
1700 the above copyright notice appear in all copies and that both that
1701 copyright notice and this permission notice appear in supporting
1702 documentation, and that the name of the author(s) not be used in
1703 advertising or publicity pertaining to distribution of the software without
1704 specific, written prior permission. The authors make no
1705 representations about the suitability of this software for any purpose. It
1706 is provided "as is" without express or implied warranty.
1708 THE AUTHOR(S) DISCLAIMS ALL WARRANTIES WITH REGARD TO THIS SOFTWARE,
1709 INCLUDING ALL IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS, IN NO
1710 EVENT SHALL THE AUTHOR(S) BE LIABLE FOR ANY SPECIAL, INDIRECT OR
1711 CONSEQUENTIAL DAMAGES OR ANY DAMAGES WHATSOEVER RESULTING FROM LOSS OF USE,
1712 DATA OR PROFITS, WHETHER IN AN ACTION OF CONTRACT, NEGLIGENCE OR OTHER
1713 TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION WITH THE USE OR
1714 PERFORMANCE OF THIS SOFTWARE.
1716 <refentry id="FcNameParse">
1718 <refentrytitle>FcNameParse</refentrytitle>
1719 <manvolnum>3</manvolnum>
1720 <refmiscinfo class="software">Fontconfig &version;</refmiscinfo>
1723 <refname>FcNameParse</refname>
1724 <refpurpose>Parse a pattern string</refpurpose>
1729 #include <fontconfig/fontconfig.h>
1732 <funcdef>FcPattern * <function>FcNameParse</function></funcdef>
1733 <paramdef>const FcChar8 *<parameter>name</parameter></paramdef>
1737 <refsect1><title>Description</title>
1739 Converts <parameter>name</parameter> from the standard text format described above into a pattern.
1744 fontconfig/doc/func.sgml
1746 Copyright © 2003 Keith Packard
1748 Permission to use, copy, modify, distribute, and sell this software and its
1749 documentation for any purpose is hereby granted without fee, provided that
1750 the above copyright notice appear in all copies and that both that
1751 copyright notice and this permission notice appear in supporting
1752 documentation, and that the name of the author(s) not be used in
1753 advertising or publicity pertaining to distribution of the software without
1754 specific, written prior permission. The authors make no
1755 representations about the suitability of this software for any purpose. It
1756 is provided "as is" without express or implied warranty.
1758 THE AUTHOR(S) DISCLAIMS ALL WARRANTIES WITH REGARD TO THIS SOFTWARE,
1759 INCLUDING ALL IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS, IN NO
1760 EVENT SHALL THE AUTHOR(S) BE LIABLE FOR ANY SPECIAL, INDIRECT OR
1761 CONSEQUENTIAL DAMAGES OR ANY DAMAGES WHATSOEVER RESULTING FROM LOSS OF USE,
1762 DATA OR PROFITS, WHETHER IN AN ACTION OF CONTRACT, NEGLIGENCE OR OTHER
1763 TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION WITH THE USE OR
1764 PERFORMANCE OF THIS SOFTWARE.
1766 <refentry id="FcNameUnparse">
1768 <refentrytitle>FcNameUnparse</refentrytitle>
1769 <manvolnum>3</manvolnum>
1770 <refmiscinfo class="software">Fontconfig &version;</refmiscinfo>
1773 <refname>FcNameUnparse</refname>
1774 <refpurpose>Convert a pattern back into a string that can be parsed</refpurpose>
1779 #include <fontconfig/fontconfig.h>
1782 <funcdef>FcChar8 * <function>FcNameUnparse</function></funcdef>
1783 <paramdef>FcPattern *<parameter>pat</parameter></paramdef>
1787 <refsect1><title>Description</title>
1789 Converts the given pattern into the standard text format described above.
1790 The return value is not static, but instead refers to newly allocated memory
1791 which should be freed by the caller using free().