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="FcCharSetCreate">
26 <refentrytitle>FcCharSetCreate</refentrytitle>
27 <manvolnum>3</manvolnum>
30 <refname>FcCharSetCreate</refname>
31 <refpurpose>Create an empty character set</refpurpose>
36 #include <fontconfig/fontconfig.h>
39 <funcdef>FcCharSet * <function>FcCharSetCreate</function></funcdef>
40 <paramdef>void<parameter></parameter></paramdef>
44 <refsect1><title>Description</title>
46 <function>FcCharSetCreate</function> allocates and initializes a new empty
50 <refsect1><title>Version</title>
52 Fontconfig version &version;
57 fontconfig/doc/func.sgml
59 Copyright © 2003 Keith Packard
61 Permission to use, copy, modify, distribute, and sell this software and its
62 documentation for any purpose is hereby granted without fee, provided that
63 the above copyright notice appear in all copies and that both that
64 copyright notice and this permission notice appear in supporting
65 documentation, and that the name of the author(s) not be used in
66 advertising or publicity pertaining to distribution of the software without
67 specific, written prior permission. The authors make no
68 representations about the suitability of this software for any purpose. It
69 is provided "as is" without express or implied warranty.
71 THE AUTHOR(S) DISCLAIMS ALL WARRANTIES WITH REGARD TO THIS SOFTWARE,
72 INCLUDING ALL IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS, IN NO
73 EVENT SHALL THE AUTHOR(S) BE LIABLE FOR ANY SPECIAL, INDIRECT OR
74 CONSEQUENTIAL DAMAGES OR ANY DAMAGES WHATSOEVER RESULTING FROM LOSS OF USE,
75 DATA OR PROFITS, WHETHER IN AN ACTION OF CONTRACT, NEGLIGENCE OR OTHER
76 TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION WITH THE USE OR
77 PERFORMANCE OF THIS SOFTWARE.
79 <refentry id="FcCharSetDestroy">
81 <refentrytitle>FcCharSetDestroy</refentrytitle>
82 <manvolnum>3</manvolnum>
85 <refname>FcCharSetDestroy</refname>
86 <refpurpose>Destroy a character set</refpurpose>
91 #include <fontconfig/fontconfig.h>
94 <funcdef>void <function>FcCharSetDestroy</function></funcdef>
95 <paramdef>FcCharSet *<parameter>fcs</parameter></paramdef>
99 <refsect1><title>Description</title>
101 <function>FcCharSetDestroy</function> decrements the reference count
102 <parameter>fcs</parameter>. If the reference count becomes zero, all
103 memory referenced is freed.
106 <refsect1><title>Version</title>
108 Fontconfig version &version;
113 fontconfig/doc/func.sgml
115 Copyright © 2003 Keith Packard
117 Permission to use, copy, modify, distribute, and sell this software and its
118 documentation for any purpose is hereby granted without fee, provided that
119 the above copyright notice appear in all copies and that both that
120 copyright notice and this permission notice appear in supporting
121 documentation, and that the name of the author(s) not be used in
122 advertising or publicity pertaining to distribution of the software without
123 specific, written prior permission. The authors make no
124 representations about the suitability of this software for any purpose. It
125 is provided "as is" without express or implied warranty.
127 THE AUTHOR(S) DISCLAIMS ALL WARRANTIES WITH REGARD TO THIS SOFTWARE,
128 INCLUDING ALL IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS, IN NO
129 EVENT SHALL THE AUTHOR(S) BE LIABLE FOR ANY SPECIAL, INDIRECT OR
130 CONSEQUENTIAL DAMAGES OR ANY DAMAGES WHATSOEVER RESULTING FROM LOSS OF USE,
131 DATA OR PROFITS, WHETHER IN AN ACTION OF CONTRACT, NEGLIGENCE OR OTHER
132 TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION WITH THE USE OR
133 PERFORMANCE OF THIS SOFTWARE.
135 <refentry id="FcCharSetAddChar">
137 <refentrytitle>FcCharSetAddChar</refentrytitle>
138 <manvolnum>3</manvolnum>
141 <refname>FcCharSetAddChar</refname>
142 <refpurpose>Add a character to a charset</refpurpose>
147 #include <fontconfig/fontconfig.h>
150 <funcdef>FcBool <function>FcCharSetAddChar</function></funcdef>
151 <paramdef>FcCharSet *<parameter>fcs</parameter></paramdef>
152 <paramdef>FcChar32 <parameter>ucs4</parameter></paramdef>
156 <refsect1><title>Description</title>
158 <function>FcCharSetAddChar</function> adds a single Unicode char to the set,
159 returning FcFalse on failure, either as a result of a constant set or from
160 running out of memory.
163 <refsect1><title>Version</title>
165 Fontconfig version &version;
170 fontconfig/doc/func.sgml
172 Copyright © 2003 Keith Packard
174 Permission to use, copy, modify, distribute, and sell this software and its
175 documentation for any purpose is hereby granted without fee, provided that
176 the above copyright notice appear in all copies and that both that
177 copyright notice and this permission notice appear in supporting
178 documentation, and that the name of the author(s) not be used in
179 advertising or publicity pertaining to distribution of the software without
180 specific, written prior permission. The authors make no
181 representations about the suitability of this software for any purpose. It
182 is provided "as is" without express or implied warranty.
184 THE AUTHOR(S) DISCLAIMS ALL WARRANTIES WITH REGARD TO THIS SOFTWARE,
185 INCLUDING ALL IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS, IN NO
186 EVENT SHALL THE AUTHOR(S) BE LIABLE FOR ANY SPECIAL, INDIRECT OR
187 CONSEQUENTIAL DAMAGES OR ANY DAMAGES WHATSOEVER RESULTING FROM LOSS OF USE,
188 DATA OR PROFITS, WHETHER IN AN ACTION OF CONTRACT, NEGLIGENCE OR OTHER
189 TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION WITH THE USE OR
190 PERFORMANCE OF THIS SOFTWARE.
192 <refentry id="FcCharSetDelChar">
194 <refentrytitle>FcCharSetDelChar</refentrytitle>
195 <manvolnum>3</manvolnum>
198 <refname>FcCharSetDelChar</refname>
199 <refpurpose>Add a character to a charset</refpurpose>
204 #include <fontconfig/fontconfig.h>
207 <funcdef>FcBool <function>FcCharSetDelChar</function></funcdef>
208 <paramdef>FcCharSet *<parameter>fcs</parameter></paramdef>
209 <paramdef>FcChar32 <parameter>ucs4</parameter></paramdef>
213 <refsect1><title>Description</title>
215 <function>FcCharSetDelChar</function> deletes a single Unicode char from the set,
216 returning FcFalse on failure, either as a result of a constant set or from
217 running out of memory.
220 <refsect1><title>Version</title>
222 Fontconfig version &version;
227 fontconfig/doc/func.sgml
229 Copyright © 2003 Keith Packard
231 Permission to use, copy, modify, distribute, and sell this software and its
232 documentation for any purpose is hereby granted without fee, provided that
233 the above copyright notice appear in all copies and that both that
234 copyright notice and this permission notice appear in supporting
235 documentation, and that the name of the author(s) not be used in
236 advertising or publicity pertaining to distribution of the software without
237 specific, written prior permission. The authors make no
238 representations about the suitability of this software for any purpose. It
239 is provided "as is" without express or implied warranty.
241 THE AUTHOR(S) DISCLAIMS ALL WARRANTIES WITH REGARD TO THIS SOFTWARE,
242 INCLUDING ALL IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS, IN NO
243 EVENT SHALL THE AUTHOR(S) BE LIABLE FOR ANY SPECIAL, INDIRECT OR
244 CONSEQUENTIAL DAMAGES OR ANY DAMAGES WHATSOEVER RESULTING FROM LOSS OF USE,
245 DATA OR PROFITS, WHETHER IN AN ACTION OF CONTRACT, NEGLIGENCE OR OTHER
246 TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION WITH THE USE OR
247 PERFORMANCE OF THIS SOFTWARE.
249 <refentry id="FcCharSetCopy">
251 <refentrytitle>FcCharSetCopy</refentrytitle>
252 <manvolnum>3</manvolnum>
255 <refname>FcCharSetCopy</refname>
256 <refpurpose>Copy a charset</refpurpose>
261 #include <fontconfig/fontconfig.h>
264 <funcdef>FcCharSet * <function>FcCharSetCopy</function></funcdef>
265 <paramdef>FcCharSet *<parameter>src</parameter></paramdef>
269 <refsect1><title>Description</title>
271 Makes a copy of <parameter>src</parameter>; note that this may not actually do anything more
272 than increment the reference count on <parameter>src</parameter>.
275 <refsect1><title>Version</title>
277 Fontconfig version &version;
282 fontconfig/doc/func.sgml
284 Copyright © 2003 Keith Packard
286 Permission to use, copy, modify, distribute, and sell this software and its
287 documentation for any purpose is hereby granted without fee, provided that
288 the above copyright notice appear in all copies and that both that
289 copyright notice and this permission notice appear in supporting
290 documentation, and that the name of the author(s) not be used in
291 advertising or publicity pertaining to distribution of the software without
292 specific, written prior permission. The authors make no
293 representations about the suitability of this software for any purpose. It
294 is provided "as is" without express or implied warranty.
296 THE AUTHOR(S) DISCLAIMS ALL WARRANTIES WITH REGARD TO THIS SOFTWARE,
297 INCLUDING ALL IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS, IN NO
298 EVENT SHALL THE AUTHOR(S) BE LIABLE FOR ANY SPECIAL, INDIRECT OR
299 CONSEQUENTIAL DAMAGES OR ANY DAMAGES WHATSOEVER RESULTING FROM LOSS OF USE,
300 DATA OR PROFITS, WHETHER IN AN ACTION OF CONTRACT, NEGLIGENCE OR OTHER
301 TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION WITH THE USE OR
302 PERFORMANCE OF THIS SOFTWARE.
304 <refentry id="FcCharSetEqual">
306 <refentrytitle>FcCharSetEqual</refentrytitle>
307 <manvolnum>3</manvolnum>
310 <refname>FcCharSetEqual</refname>
311 <refpurpose>Compare two charsets</refpurpose>
316 #include <fontconfig/fontconfig.h>
319 <funcdef>FcBool <function>FcCharSetEqual</function></funcdef>
320 <paramdef>const FcCharSet *<parameter>a</parameter></paramdef>
321 <paramdef>const FcCharSet *<parameter>b</parameter></paramdef>
325 <refsect1><title>Description</title>
327 Returns whether <parameter>a</parameter> and <parameter>b</parameter>
328 contain the same set of Unicode chars.
331 <refsect1><title>Version</title>
333 Fontconfig version &version;
338 fontconfig/doc/func.sgml
340 Copyright © 2003 Keith Packard
342 Permission to use, copy, modify, distribute, and sell this software and its
343 documentation for any purpose is hereby granted without fee, provided that
344 the above copyright notice appear in all copies and that both that
345 copyright notice and this permission notice appear in supporting
346 documentation, and that the name of the author(s) not be used in
347 advertising or publicity pertaining to distribution of the software without
348 specific, written prior permission. The authors make no
349 representations about the suitability of this software for any purpose. It
350 is provided "as is" without express or implied warranty.
352 THE AUTHOR(S) DISCLAIMS ALL WARRANTIES WITH REGARD TO THIS SOFTWARE,
353 INCLUDING ALL IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS, IN NO
354 EVENT SHALL THE AUTHOR(S) BE LIABLE FOR ANY SPECIAL, INDIRECT OR
355 CONSEQUENTIAL DAMAGES OR ANY DAMAGES WHATSOEVER RESULTING FROM LOSS OF USE,
356 DATA OR PROFITS, WHETHER IN AN ACTION OF CONTRACT, NEGLIGENCE OR OTHER
357 TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION WITH THE USE OR
358 PERFORMANCE OF THIS SOFTWARE.
360 <refentry id="FcCharSetIntersect">
362 <refentrytitle>FcCharSetIntersect</refentrytitle>
363 <manvolnum>3</manvolnum>
366 <refname>FcCharSetIntersect</refname>
367 <refpurpose>Intersect charsets</refpurpose>
372 #include <fontconfig/fontconfig.h>
375 <funcdef>FcCharSet * <function>FcCharSetIntersect</function></funcdef>
376 <paramdef>const FcCharSet *<parameter>a</parameter></paramdef>
377 <paramdef>const FcCharSet *<parameter>b</parameter></paramdef>
381 <refsect1><title>Description</title>
383 Returns a set including only those chars found in both
384 <parameter>a</parameter> and <parameter>b</parameter>.
387 <refsect1><title>Version</title>
389 Fontconfig version &version;
394 fontconfig/doc/func.sgml
396 Copyright © 2003 Keith Packard
398 Permission to use, copy, modify, distribute, and sell this software and its
399 documentation for any purpose is hereby granted without fee, provided that
400 the above copyright notice appear in all copies and that both that
401 copyright notice and this permission notice appear in supporting
402 documentation, and that the name of the author(s) not be used in
403 advertising or publicity pertaining to distribution of the software without
404 specific, written prior permission. The authors make no
405 representations about the suitability of this software for any purpose. It
406 is provided "as is" without express or implied warranty.
408 THE AUTHOR(S) DISCLAIMS ALL WARRANTIES WITH REGARD TO THIS SOFTWARE,
409 INCLUDING ALL IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS, IN NO
410 EVENT SHALL THE AUTHOR(S) BE LIABLE FOR ANY SPECIAL, INDIRECT OR
411 CONSEQUENTIAL DAMAGES OR ANY DAMAGES WHATSOEVER RESULTING FROM LOSS OF USE,
412 DATA OR PROFITS, WHETHER IN AN ACTION OF CONTRACT, NEGLIGENCE OR OTHER
413 TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION WITH THE USE OR
414 PERFORMANCE OF THIS SOFTWARE.
416 <refentry id="FcCharSetUnion">
418 <refentrytitle>FcCharSetUnion</refentrytitle>
419 <manvolnum>3</manvolnum>
422 <refname>FcCharSetUnion</refname>
423 <refpurpose>Add charsets</refpurpose>
428 #include <fontconfig/fontconfig.h>
431 <funcdef>FcCharSet * <function>FcCharSetUnion</function></funcdef>
432 <paramdef>const FcCharSet *<parameter>a</parameter></paramdef>
433 <paramdef>const FcCharSet *<parameter>b</parameter></paramdef>
437 <refsect1><title>Description</title>
439 Returns a set including only those chars found in either <parameter>a</parameter> or <parameter>b</parameter>.
442 <refsect1><title>Version</title>
444 Fontconfig version &version;
449 fontconfig/doc/func.sgml
451 Copyright © 2003 Keith Packard
453 Permission to use, copy, modify, distribute, and sell this software and its
454 documentation for any purpose is hereby granted without fee, provided that
455 the above copyright notice appear in all copies and that both that
456 copyright notice and this permission notice appear in supporting
457 documentation, and that the name of the author(s) not be used in
458 advertising or publicity pertaining to distribution of the software without
459 specific, written prior permission. The authors make no
460 representations about the suitability of this software for any purpose. It
461 is provided "as is" without express or implied warranty.
463 THE AUTHOR(S) DISCLAIMS ALL WARRANTIES WITH REGARD TO THIS SOFTWARE,
464 INCLUDING ALL IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS, IN NO
465 EVENT SHALL THE AUTHOR(S) BE LIABLE FOR ANY SPECIAL, INDIRECT OR
466 CONSEQUENTIAL DAMAGES OR ANY DAMAGES WHATSOEVER RESULTING FROM LOSS OF USE,
467 DATA OR PROFITS, WHETHER IN AN ACTION OF CONTRACT, NEGLIGENCE OR OTHER
468 TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION WITH THE USE OR
469 PERFORMANCE OF THIS SOFTWARE.
471 <refentry id="FcCharSetSubtract">
473 <refentrytitle>FcCharSetSubtract</refentrytitle>
474 <manvolnum>3</manvolnum>
477 <refname>FcCharSetSubtract</refname>
478 <refpurpose>Subtract charsets</refpurpose>
483 #include <fontconfig/fontconfig.h>
486 <funcdef>FcCharSet * <function>FcCharSetSubtract</function></funcdef>
487 <paramdef>const FcCharSet *<parameter>a</parameter></paramdef>
488 <paramdef>const FcCharSet *<parameter>b</parameter></paramdef>
492 <refsect1><title>Description</title>
494 Returns a set including only those chars found in <parameter>a</parameter> but not <parameter>b</parameter>.
497 <refsect1><title>Version</title>
499 Fontconfig version &version;
504 fontconfig/doc/func.sgml
506 Copyright © 2003 Keith Packard
508 Permission to use, copy, modify, distribute, and sell this software and its
509 documentation for any purpose is hereby granted without fee, provided that
510 the above copyright notice appear in all copies and that both that
511 copyright notice and this permission notice appear in supporting
512 documentation, and that the name of the author(s) not be used in
513 advertising or publicity pertaining to distribution of the software without
514 specific, written prior permission. The authors make no
515 representations about the suitability of this software for any purpose. It
516 is provided "as is" without express or implied warranty.
518 THE AUTHOR(S) DISCLAIMS ALL WARRANTIES WITH REGARD TO THIS SOFTWARE,
519 INCLUDING ALL IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS, IN NO
520 EVENT SHALL THE AUTHOR(S) BE LIABLE FOR ANY SPECIAL, INDIRECT OR
521 CONSEQUENTIAL DAMAGES OR ANY DAMAGES WHATSOEVER RESULTING FROM LOSS OF USE,
522 DATA OR PROFITS, WHETHER IN AN ACTION OF CONTRACT, NEGLIGENCE OR OTHER
523 TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION WITH THE USE OR
524 PERFORMANCE OF THIS SOFTWARE.
526 <refentry id="FcCharSetMerge">
528 <refentrytitle>FcCharSetMerge</refentrytitle>
529 <manvolnum>3</manvolnum>
532 <refname>FcCharSetMerge</refname>
533 <refpurpose>Merge charsets</refpurpose>
538 #include <fontconfig/fontconfig.h>
541 <funcdef>FcBool <function>FcCharSetMerge</function></funcdef>
542 <paramdef>FcCharSet *<parameter>a</parameter></paramdef>
543 <paramdef>const FcCharSet *<parameter>b</parameter></paramdef>
544 <paramdef>FcBool *<parameter>changed</parameter></paramdef>
548 <refsect1><title>Description</title>
550 Adds all chars in <parameter>b</parameter> to <parameter>a</parameter>.
551 In other words, this is an in-place version of FcCharSetUnion.
552 If <parameter>changed</parameter> is not NULL, then it returns whether any new
553 chars from <parameter>b</parameter> were added to <parameter>a</parameter>.
554 Returns FcFalse on failure, either when <parameter>a</parameter> is a constant
555 set or from running out of memory.
558 <refsect1><title>Version</title>
560 Fontconfig version &version;
565 fontconfig/doc/func.sgml
567 Copyright © 2003 Keith Packard
569 Permission to use, copy, modify, distribute, and sell this software and its
570 documentation for any purpose is hereby granted without fee, provided that
571 the above copyright notice appear in all copies and that both that
572 copyright notice and this permission notice appear in supporting
573 documentation, and that the name of the author(s) not be used in
574 advertising or publicity pertaining to distribution of the software without
575 specific, written prior permission. The authors make no
576 representations about the suitability of this software for any purpose. It
577 is provided "as is" without express or implied warranty.
579 THE AUTHOR(S) DISCLAIMS ALL WARRANTIES WITH REGARD TO THIS SOFTWARE,
580 INCLUDING ALL IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS, IN NO
581 EVENT SHALL THE AUTHOR(S) BE LIABLE FOR ANY SPECIAL, INDIRECT OR
582 CONSEQUENTIAL DAMAGES OR ANY DAMAGES WHATSOEVER RESULTING FROM LOSS OF USE,
583 DATA OR PROFITS, WHETHER IN AN ACTION OF CONTRACT, NEGLIGENCE OR OTHER
584 TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION WITH THE USE OR
585 PERFORMANCE OF THIS SOFTWARE.
587 <refentry id="FcCharSetHasChar">
589 <refentrytitle>FcCharSetHasChar</refentrytitle>
590 <manvolnum>3</manvolnum>
593 <refname>FcCharSetHasChar</refname>
594 <refpurpose>Check a charset for a char</refpurpose>
599 #include <fontconfig/fontconfig.h>
602 <funcdef>FcBool <function>FcCharSetHasChar</function></funcdef>
603 <paramdef>const FcCharSet *<parameter>fcs</parameter></paramdef>
604 <paramdef>FcChar32 <parameter>ucs4</parameter></paramdef>
608 <refsect1><title>Description</title>
610 Returns whether <parameter>fcs</parameter> contains the char <parameter>ucs4</parameter>.
613 <refsect1><title>Version</title>
615 Fontconfig version &version;
620 fontconfig/doc/func.sgml
622 Copyright © 2003 Keith Packard
624 Permission to use, copy, modify, distribute, and sell this software and its
625 documentation for any purpose is hereby granted without fee, provided that
626 the above copyright notice appear in all copies and that both that
627 copyright notice and this permission notice appear in supporting
628 documentation, and that the name of the author(s) not be used in
629 advertising or publicity pertaining to distribution of the software without
630 specific, written prior permission. The authors make no
631 representations about the suitability of this software for any purpose. It
632 is provided "as is" without express or implied warranty.
634 THE AUTHOR(S) DISCLAIMS ALL WARRANTIES WITH REGARD TO THIS SOFTWARE,
635 INCLUDING ALL IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS, IN NO
636 EVENT SHALL THE AUTHOR(S) BE LIABLE FOR ANY SPECIAL, INDIRECT OR
637 CONSEQUENTIAL DAMAGES OR ANY DAMAGES WHATSOEVER RESULTING FROM LOSS OF USE,
638 DATA OR PROFITS, WHETHER IN AN ACTION OF CONTRACT, NEGLIGENCE OR OTHER
639 TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION WITH THE USE OR
640 PERFORMANCE OF THIS SOFTWARE.
642 <refentry id="FcCharSetCount">
644 <refentrytitle>FcCharSetCount</refentrytitle>
645 <manvolnum>3</manvolnum>
648 <refname>FcCharSetCount</refname>
649 <refpurpose>Count entries in a charset</refpurpose>
654 #include <fontconfig/fontconfig.h>
657 <funcdef>FcChar32 <function>FcCharSetCount</function></funcdef>
658 <paramdef>const FcCharSet *<parameter>a</parameter></paramdef>
662 <refsect1><title>Description</title>
664 Returns the total number of Unicode chars in <parameter>a</parameter>.
667 <refsect1><title>Version</title>
669 Fontconfig version &version;
674 fontconfig/doc/func.sgml
676 Copyright © 2003 Keith Packard
678 Permission to use, copy, modify, distribute, and sell this software and its
679 documentation for any purpose is hereby granted without fee, provided that
680 the above copyright notice appear in all copies and that both that
681 copyright notice and this permission notice appear in supporting
682 documentation, and that the name of the author(s) not be used in
683 advertising or publicity pertaining to distribution of the software without
684 specific, written prior permission. The authors make no
685 representations about the suitability of this software for any purpose. It
686 is provided "as is" without express or implied warranty.
688 THE AUTHOR(S) DISCLAIMS ALL WARRANTIES WITH REGARD TO THIS SOFTWARE,
689 INCLUDING ALL IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS, IN NO
690 EVENT SHALL THE AUTHOR(S) BE LIABLE FOR ANY SPECIAL, INDIRECT OR
691 CONSEQUENTIAL DAMAGES OR ANY DAMAGES WHATSOEVER RESULTING FROM LOSS OF USE,
692 DATA OR PROFITS, WHETHER IN AN ACTION OF CONTRACT, NEGLIGENCE OR OTHER
693 TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION WITH THE USE OR
694 PERFORMANCE OF THIS SOFTWARE.
696 <refentry id="FcCharSetIntersectCount">
698 <refentrytitle>FcCharSetIntersectCount</refentrytitle>
699 <manvolnum>3</manvolnum>
702 <refname>FcCharSetIntersectCount</refname>
703 <refpurpose>Intersect and count charsets</refpurpose>
708 #include <fontconfig/fontconfig.h>
711 <funcdef>FcChar32 <function>FcCharSetIntersectCount</function></funcdef>
712 <paramdef>const FcCharSet *<parameter>a</parameter></paramdef>
713 <paramdef>const FcCharSet *<parameter>b</parameter></paramdef>
717 <refsect1><title>Description</title>
719 Returns the number of chars that are in both <parameter>a</parameter> and <parameter>b</parameter>.
722 <refsect1><title>Version</title>
724 Fontconfig version &version;
729 fontconfig/doc/func.sgml
731 Copyright © 2003 Keith Packard
733 Permission to use, copy, modify, distribute, and sell this software and its
734 documentation for any purpose is hereby granted without fee, provided that
735 the above copyright notice appear in all copies and that both that
736 copyright notice and this permission notice appear in supporting
737 documentation, and that the name of the author(s) not be used in
738 advertising or publicity pertaining to distribution of the software without
739 specific, written prior permission. The authors make no
740 representations about the suitability of this software for any purpose. It
741 is provided "as is" without express or implied warranty.
743 THE AUTHOR(S) DISCLAIMS ALL WARRANTIES WITH REGARD TO THIS SOFTWARE,
744 INCLUDING ALL IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS, IN NO
745 EVENT SHALL THE AUTHOR(S) BE LIABLE FOR ANY SPECIAL, INDIRECT OR
746 CONSEQUENTIAL DAMAGES OR ANY DAMAGES WHATSOEVER RESULTING FROM LOSS OF USE,
747 DATA OR PROFITS, WHETHER IN AN ACTION OF CONTRACT, NEGLIGENCE OR OTHER
748 TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION WITH THE USE OR
749 PERFORMANCE OF THIS SOFTWARE.
751 <refentry id="FcCharSetSubtractCount">
753 <refentrytitle>FcCharSetSubtractCount</refentrytitle>
754 <manvolnum>3</manvolnum>
757 <refname>FcCharSetSubtractCount</refname>
758 <refpurpose>Subtract and count charsets</refpurpose>
763 #include <fontconfig/fontconfig.h>
766 <funcdef>FcChar32 <function>FcCharSetSubtractCount</function></funcdef>
767 <paramdef>const FcCharSet *<parameter>a</parameter></paramdef>
768 <paramdef>const FcCharSet *<parameter>b</parameter></paramdef>
772 <refsect1><title>Description</title>
774 Returns the number of chars that are in <parameter>a</parameter> but not in <parameter>b</parameter>.
777 <refsect1><title>Version</title>
779 Fontconfig version &version;
784 fontconfig/doc/func.sgml
786 Copyright © 2003 Keith Packard
788 Permission to use, copy, modify, distribute, and sell this software and its
789 documentation for any purpose is hereby granted without fee, provided that
790 the above copyright notice appear in all copies and that both that
791 copyright notice and this permission notice appear in supporting
792 documentation, and that the name of the author(s) not be used in
793 advertising or publicity pertaining to distribution of the software without
794 specific, written prior permission. The authors make no
795 representations about the suitability of this software for any purpose. It
796 is provided "as is" without express or implied warranty.
798 THE AUTHOR(S) DISCLAIMS ALL WARRANTIES WITH REGARD TO THIS SOFTWARE,
799 INCLUDING ALL IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS, IN NO
800 EVENT SHALL THE AUTHOR(S) BE LIABLE FOR ANY SPECIAL, INDIRECT OR
801 CONSEQUENTIAL DAMAGES OR ANY DAMAGES WHATSOEVER RESULTING FROM LOSS OF USE,
802 DATA OR PROFITS, WHETHER IN AN ACTION OF CONTRACT, NEGLIGENCE OR OTHER
803 TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION WITH THE USE OR
804 PERFORMANCE OF THIS SOFTWARE.
806 <refentry id="FcCharSetIsSubset">
808 <refentrytitle>FcCharSetIsSubset</refentrytitle>
809 <manvolnum>3</manvolnum>
812 <refname>FcCharSetIsSubset</refname>
813 <refpurpose>Test for charset inclusion</refpurpose>
818 #include <fontconfig/fontconfig.h>
821 <funcdef>FcBool <function>FcCharSetIsSubset</function></funcdef>
822 <paramdef>const FcCharSet *<parameter>a</parameter></paramdef>
823 <paramdef>const FcCharSet *<parameter>b</parameter></paramdef>
827 <refsect1><title>Description</title>
829 Returns whether <parameter>a</parameter> is a subset of <parameter>b</parameter>.
832 <refsect1><title>Version</title>
834 Fontconfig version &version;
839 fontconfig/doc/func.sgml
841 Copyright © 2003 Keith Packard
843 Permission to use, copy, modify, distribute, and sell this software and its
844 documentation for any purpose is hereby granted without fee, provided that
845 the above copyright notice appear in all copies and that both that
846 copyright notice and this permission notice appear in supporting
847 documentation, and that the name of the author(s) not be used in
848 advertising or publicity pertaining to distribution of the software without
849 specific, written prior permission. The authors make no
850 representations about the suitability of this software for any purpose. It
851 is provided "as is" without express or implied warranty.
853 THE AUTHOR(S) DISCLAIMS ALL WARRANTIES WITH REGARD TO THIS SOFTWARE,
854 INCLUDING ALL IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS, IN NO
855 EVENT SHALL THE AUTHOR(S) BE LIABLE FOR ANY SPECIAL, INDIRECT OR
856 CONSEQUENTIAL DAMAGES OR ANY DAMAGES WHATSOEVER RESULTING FROM LOSS OF USE,
857 DATA OR PROFITS, WHETHER IN AN ACTION OF CONTRACT, NEGLIGENCE OR OTHER
858 TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION WITH THE USE OR
859 PERFORMANCE OF THIS SOFTWARE.
861 <refentry id="FcCharSetFirstPage">
863 <refentrytitle>FcCharSetFirstPage</refentrytitle>
864 <manvolnum>3</manvolnum>
867 <refname>FcCharSetFirstPage</refname>
868 <refpurpose>Start enumerating charset contents</refpurpose>
873 #include <fontconfig/fontconfig.h>
876 <funcdef>FcChar32 <function>FcCharSetFirstPage</function></funcdef>
877 <paramdef>const FcCharSet *<parameter>a</parameter></paramdef>
878 <paramdef>FcChar32[FC_CHARSET_MAP_SIZE] <parameter>map</parameter></paramdef>
879 <paramdef>FcChar32 *<parameter>next</parameter></paramdef>
883 <refsect1><title>Description</title>
885 Builds an array of bits marking the first page of Unicode coverage of
886 <parameter>a</parameter>. Returns the base of the array. <parameter>next</parameter> contains the next page in the
890 <refsect1><title>Version</title>
892 Fontconfig version &version;
897 fontconfig/doc/func.sgml
899 Copyright © 2003 Keith Packard
901 Permission to use, copy, modify, distribute, and sell this software and its
902 documentation for any purpose is hereby granted without fee, provided that
903 the above copyright notice appear in all copies and that both that
904 copyright notice and this permission notice appear in supporting
905 documentation, and that the name of the author(s) not be used in
906 advertising or publicity pertaining to distribution of the software without
907 specific, written prior permission. The authors make no
908 representations about the suitability of this software for any purpose. It
909 is provided "as is" without express or implied warranty.
911 THE AUTHOR(S) DISCLAIMS ALL WARRANTIES WITH REGARD TO THIS SOFTWARE,
912 INCLUDING ALL IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS, IN NO
913 EVENT SHALL THE AUTHOR(S) BE LIABLE FOR ANY SPECIAL, INDIRECT OR
914 CONSEQUENTIAL DAMAGES OR ANY DAMAGES WHATSOEVER RESULTING FROM LOSS OF USE,
915 DATA OR PROFITS, WHETHER IN AN ACTION OF CONTRACT, NEGLIGENCE OR OTHER
916 TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION WITH THE USE OR
917 PERFORMANCE OF THIS SOFTWARE.
919 <refentry id="FcCharSetNextPage">
921 <refentrytitle>FcCharSetNextPage</refentrytitle>
922 <manvolnum>3</manvolnum>
925 <refname>FcCharSetNextPage</refname>
926 <refpurpose>Continue enumerating charset contents</refpurpose>
931 #include <fontconfig/fontconfig.h>
934 <funcdef>FcChar32 <function>FcCharSetNextPage</function></funcdef>
935 <paramdef>const FcCharSet *<parameter>a</parameter></paramdef>
936 <paramdef>FcChar32[FC_CHARSET_MAP_SIZE] <parameter>map</parameter></paramdef>
937 <paramdef>FcChar32 *<parameter>next</parameter></paramdef>
941 <refsect1><title>Description</title>
943 Builds an array of bits marking the Unicode coverage of <parameter>a</parameter> for page
944 <parameter>*next</parameter>. Returns the base of the array. <parameter>next</parameter> contains the next page in
948 <refsect1><title>Version</title>
950 Fontconfig version &version;
955 fontconfig/doc/func.sgml
957 Copyright © 2003 Keith Packard
959 Permission to use, copy, modify, distribute, and sell this software and its
960 documentation for any purpose is hereby granted without fee, provided that
961 the above copyright notice appear in all copies and that both that
962 copyright notice and this permission notice appear in supporting
963 documentation, and that the name of the author(s) not be used in
964 advertising or publicity pertaining to distribution of the software without
965 specific, written prior permission. The authors make no
966 representations about the suitability of this software for any purpose. It
967 is provided "as is" without express or implied warranty.
969 THE AUTHOR(S) DISCLAIMS ALL WARRANTIES WITH REGARD TO THIS SOFTWARE,
970 INCLUDING ALL IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS, IN NO
971 EVENT SHALL THE AUTHOR(S) BE LIABLE FOR ANY SPECIAL, INDIRECT OR
972 CONSEQUENTIAL DAMAGES OR ANY DAMAGES WHATSOEVER RESULTING FROM LOSS OF USE,
973 DATA OR PROFITS, WHETHER IN AN ACTION OF CONTRACT, NEGLIGENCE OR OTHER
974 TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION WITH THE USE OR
975 PERFORMANCE OF THIS SOFTWARE.
977 <refentry id="FcCharSetCoverage">
979 <refentrytitle>FcCharSetCoverage</refentrytitle>
980 <manvolnum>3</manvolnum>
983 <refname>FcCharSetCoverage</refname>
984 <refpurpose>DEPRECATED return coverage for a Unicode page</refpurpose>
989 #include <fontconfig/fontconfig.h>
992 <funcdef>FcChar32 <function>FcCharSetCoverage</function></funcdef>
993 <paramdef>const FcCharSet *<parameter>a</parameter></paramdef>
994 <paramdef>FcChar32<parameter>page</parameter></paramdef>
995 <paramdef>FcChar32[8]<parameter>result</parameter></paramdef>
999 <refsect1><title>Description</title>
1002 This function returns a bitmask in <parameter>result</parameter> which
1003 indicates which code points in
1004 <parameter>page</parameter> are included in <parameter>a</parameter>.
1005 <function>FcCharSetCoverage</function> returns the next page in the charset which has any
1009 <refsect1><title>Version</title>
1011 Fontconfig version &version;
1016 fontconfig/doc/func.sgml
1018 Copyright © 2003 Keith Packard
1020 Permission to use, copy, modify, distribute, and sell this software and its
1021 documentation for any purpose is hereby granted without fee, provided that
1022 the above copyright notice appear in all copies and that both that
1023 copyright notice and this permission notice appear in supporting
1024 documentation, and that the name of the author(s) not be used in
1025 advertising or publicity pertaining to distribution of the software without
1026 specific, written prior permission. The authors make no
1027 representations about the suitability of this software for any purpose. It
1028 is provided "as is" without express or implied warranty.
1030 THE AUTHOR(S) DISCLAIMS ALL WARRANTIES WITH REGARD TO THIS SOFTWARE,
1031 INCLUDING ALL IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS, IN NO
1032 EVENT SHALL THE AUTHOR(S) BE LIABLE FOR ANY SPECIAL, INDIRECT OR
1033 CONSEQUENTIAL DAMAGES OR ANY DAMAGES WHATSOEVER RESULTING FROM LOSS OF USE,
1034 DATA OR PROFITS, WHETHER IN AN ACTION OF CONTRACT, NEGLIGENCE OR OTHER
1035 TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION WITH THE USE OR
1036 PERFORMANCE OF THIS SOFTWARE.
1038 <refentry id="FcCharSetNew">
1040 <refentrytitle>FcCharSetNew</refentrytitle>
1041 <manvolnum>3</manvolnum>
1044 <refname>FcCharSetNew</refname>
1045 <refpurpose>DEPRECATED alias for FcCharSetCreate</refpurpose>
1050 #include <fontconfig/fontconfig.h>
1053 <funcdef>FcCharSet * <function>FcCharSetNew</function></funcdef>
1054 <paramdef>void<parameter></parameter></paramdef>
1058 <refsect1><title>Description</title>
1060 <function>FcCharSetNew</function> is a DEPRECATED alias for FcCharSetCreate.
1063 <refsect1><title>Version</title>
1065 Fontconfig version &version;