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="FcLangSetCreate">
26 <refentrytitle>FcLangSetCreate</refentrytitle>
27 <manvolnum>3</manvolnum>
28 <refmiscinfo class="software">Fontconfig &version;</refmiscinfo>
31 <refname>FcLangSetCreate</refname>
32 <refpurpose>create a langset object</refpurpose>
37 #include <fontconfig/fontconfig.h>
40 <funcdef>FcLangSet * <function>FcLangSetCreate</function></funcdef>
41 <paramdef>void<parameter></parameter></paramdef>
45 <refsect1><title>Description</title>
47 <function>FcLangSetCreate</function> creates a new FcLangSet object.
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="FcLangSetDestroy">
76 <refentrytitle>FcLangSetDestroy</refentrytitle>
77 <manvolnum>3</manvolnum>
78 <refmiscinfo class="software">Fontconfig &version;</refmiscinfo>
81 <refname>FcLangSetDestroy</refname>
82 <refpurpose>destroy a langset object</refpurpose>
87 #include <fontconfig/fontconfig.h>
90 <funcdef>void <function>FcLangSetDestroy</function></funcdef>
91 <paramdef>FcLangSet *<parameter>ls</parameter></paramdef>
95 <refsect1><title>Description</title>
97 <function>FcLangSetDestroy</function> destroys a FcLangSet object, freeing
98 all memory associated with it.
103 fontconfig/doc/func.sgml
105 Copyright © 2003 Keith Packard
107 Permission to use, copy, modify, distribute, and sell this software and its
108 documentation for any purpose is hereby granted without fee, provided that
109 the above copyright notice appear in all copies and that both that
110 copyright notice and this permission notice appear in supporting
111 documentation, and that the name of the author(s) not be used in
112 advertising or publicity pertaining to distribution of the software without
113 specific, written prior permission. The authors make no
114 representations about the suitability of this software for any purpose. It
115 is provided "as is" without express or implied warranty.
117 THE AUTHOR(S) DISCLAIMS ALL WARRANTIES WITH REGARD TO THIS SOFTWARE,
118 INCLUDING ALL IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS, IN NO
119 EVENT SHALL THE AUTHOR(S) BE LIABLE FOR ANY SPECIAL, INDIRECT OR
120 CONSEQUENTIAL DAMAGES OR ANY DAMAGES WHATSOEVER RESULTING FROM LOSS OF USE,
121 DATA OR PROFITS, WHETHER IN AN ACTION OF CONTRACT, NEGLIGENCE OR OTHER
122 TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION WITH THE USE OR
123 PERFORMANCE OF THIS SOFTWARE.
125 <refentry id="FcLangSetCopy">
127 <refentrytitle>FcLangSetCopy</refentrytitle>
128 <manvolnum>3</manvolnum>
129 <refmiscinfo class="software">Fontconfig &version;</refmiscinfo>
132 <refname>FcLangSetCopy</refname>
133 <refpurpose>copy a langset object</refpurpose>
138 #include <fontconfig/fontconfig.h>
141 <funcdef>FcLangSet * <function>FcLangSetCopy</function></funcdef>
142 <paramdef>const FcLangSet *<parameter>ls</parameter></paramdef>
146 <refsect1><title>Description</title>
148 <function>FcLangSetCopy</function> creates a new FcLangSet object and
149 populates it with the contents of <parameter>ls</parameter>.
154 fontconfig/doc/func.sgml
156 Copyright © 2003 Keith Packard
158 Permission to use, copy, modify, distribute, and sell this software and its
159 documentation for any purpose is hereby granted without fee, provided that
160 the above copyright notice appear in all copies and that both that
161 copyright notice and this permission notice appear in supporting
162 documentation, and that the name of the author(s) not be used in
163 advertising or publicity pertaining to distribution of the software without
164 specific, written prior permission. The authors make no
165 representations about the suitability of this software for any purpose. It
166 is provided "as is" without express or implied warranty.
168 THE AUTHOR(S) DISCLAIMS ALL WARRANTIES WITH REGARD TO THIS SOFTWARE,
169 INCLUDING ALL IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS, IN NO
170 EVENT SHALL THE AUTHOR(S) BE LIABLE FOR ANY SPECIAL, INDIRECT OR
171 CONSEQUENTIAL DAMAGES OR ANY DAMAGES WHATSOEVER RESULTING FROM LOSS OF USE,
172 DATA OR PROFITS, WHETHER IN AN ACTION OF CONTRACT, NEGLIGENCE OR OTHER
173 TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION WITH THE USE OR
174 PERFORMANCE OF THIS SOFTWARE.
176 <refentry id="FcLangSetAdd">
178 <refentrytitle>FcLangSetAdd</refentrytitle>
179 <manvolnum>3</manvolnum>
180 <refmiscinfo class="software">Fontconfig &version;</refmiscinfo>
183 <refname>FcLangSetAdd</refname>
184 <refpurpose>add a language to a langset</refpurpose>
189 #include <fontconfig/fontconfig.h>
192 <funcdef>FcBool <function>FcLangSetAdd</function></funcdef>
193 <paramdef>FcLangSet *<parameter>ls</parameter></paramdef>
194 <paramdef>const FcChar8 *<parameter>lang</parameter></paramdef>
198 <refsect1><title>Description</title>
200 <parameter>lang</parameter> is added to <parameter>ls</parameter>.
201 <parameter>lang</parameter> should be of the form Ll-Tt where Ll is a
202 two or three letter language from ISO 639 and Tt is a territory from ISO
208 fontconfig/doc/func.sgml
210 Copyright © 2003 Keith Packard
212 Permission to use, copy, modify, distribute, and sell this software and its
213 documentation for any purpose is hereby granted without fee, provided that
214 the above copyright notice appear in all copies and that both that
215 copyright notice and this permission notice appear in supporting
216 documentation, and that the name of the author(s) not be used in
217 advertising or publicity pertaining to distribution of the software without
218 specific, written prior permission. The authors make no
219 representations about the suitability of this software for any purpose. It
220 is provided "as is" without express or implied warranty.
222 THE AUTHOR(S) DISCLAIMS ALL WARRANTIES WITH REGARD TO THIS SOFTWARE,
223 INCLUDING ALL IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS, IN NO
224 EVENT SHALL THE AUTHOR(S) BE LIABLE FOR ANY SPECIAL, INDIRECT OR
225 CONSEQUENTIAL DAMAGES OR ANY DAMAGES WHATSOEVER RESULTING FROM LOSS OF USE,
226 DATA OR PROFITS, WHETHER IN AN ACTION OF CONTRACT, NEGLIGENCE OR OTHER
227 TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION WITH THE USE OR
228 PERFORMANCE OF THIS SOFTWARE.
230 <refentry id="FcLangSetDel">
232 <refentrytitle>FcLangSetDel</refentrytitle>
233 <manvolnum>3</manvolnum>
234 <refmiscinfo class="software">Fontconfig &version;</refmiscinfo>
237 <refname>FcLangSetDel</refname>
238 <refpurpose>delete a language from a langset</refpurpose>
243 #include <fontconfig/fontconfig.h>
246 <funcdef>FcBool <function>FcLangSetDel</function></funcdef>
247 <paramdef>FcLangSet *<parameter>ls</parameter></paramdef>
248 <paramdef>const FcChar8 *<parameter>lang</parameter></paramdef>
252 <refsect1><title>Description</title>
254 <parameter>lang</parameter> is removed from <parameter>ls</parameter>.
255 <parameter>lang</parameter> should be of the form Ll-Tt where Ll is a
256 two or three letter language from ISO 639 and Tt is a territory from ISO
260 <refsect1><title>Since</title>
261 <para>version 2.9.0</para>
265 fontconfig/doc/func.sgml
267 Copyright © 2003 Keith Packard
269 Permission to use, copy, modify, distribute, and sell this software and its
270 documentation for any purpose is hereby granted without fee, provided that
271 the above copyright notice appear in all copies and that both that
272 copyright notice and this permission notice appear in supporting
273 documentation, and that the name of the author(s) not be used in
274 advertising or publicity pertaining to distribution of the software without
275 specific, written prior permission. The authors make no
276 representations about the suitability of this software for any purpose. It
277 is provided "as is" without express or implied warranty.
279 THE AUTHOR(S) DISCLAIMS ALL WARRANTIES WITH REGARD TO THIS SOFTWARE,
280 INCLUDING ALL IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS, IN NO
281 EVENT SHALL THE AUTHOR(S) BE LIABLE FOR ANY SPECIAL, INDIRECT OR
282 CONSEQUENTIAL DAMAGES OR ANY DAMAGES WHATSOEVER RESULTING FROM LOSS OF USE,
283 DATA OR PROFITS, WHETHER IN AN ACTION OF CONTRACT, NEGLIGENCE OR OTHER
284 TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION WITH THE USE OR
285 PERFORMANCE OF THIS SOFTWARE.
287 <refentry id="FcLangSetUnion">
289 <refentrytitle>FcLangSetUnion</refentrytitle>
290 <manvolnum>3</manvolnum>
291 <refmiscinfo class="software">Fontconfig &version;</refmiscinfo>
294 <refname>FcLangSetUnion</refname>
295 <refpurpose>Add langsets</refpurpose>
300 #include <fontconfig/fontconfig.h>
303 <funcdef>FcLangSet * <function>FcLangSetUnion</function></funcdef>
304 <paramdef>const FcLangSet *<parameter>ls_a</parameter></paramdef>
305 <paramdef>const FcLangSet *<parameter>ls_b</parameter></paramdef>
309 <refsect1><title>Description</title>
311 Returns a set including only those languages found in either <parameter>ls_a</parameter> or <parameter>ls_b</parameter>.
314 <refsect1><title>Since</title>
315 <para>version 2.9.0</para>
319 fontconfig/doc/func.sgml
321 Copyright © 2003 Keith Packard
323 Permission to use, copy, modify, distribute, and sell this software and its
324 documentation for any purpose is hereby granted without fee, provided that
325 the above copyright notice appear in all copies and that both that
326 copyright notice and this permission notice appear in supporting
327 documentation, and that the name of the author(s) not be used in
328 advertising or publicity pertaining to distribution of the software without
329 specific, written prior permission. The authors make no
330 representations about the suitability of this software for any purpose. It
331 is provided "as is" without express or implied warranty.
333 THE AUTHOR(S) DISCLAIMS ALL WARRANTIES WITH REGARD TO THIS SOFTWARE,
334 INCLUDING ALL IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS, IN NO
335 EVENT SHALL THE AUTHOR(S) BE LIABLE FOR ANY SPECIAL, INDIRECT OR
336 CONSEQUENTIAL DAMAGES OR ANY DAMAGES WHATSOEVER RESULTING FROM LOSS OF USE,
337 DATA OR PROFITS, WHETHER IN AN ACTION OF CONTRACT, NEGLIGENCE OR OTHER
338 TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION WITH THE USE OR
339 PERFORMANCE OF THIS SOFTWARE.
341 <refentry id="FcLangSetSubtract">
343 <refentrytitle>FcLangSetSubtract</refentrytitle>
344 <manvolnum>3</manvolnum>
345 <refmiscinfo class="software">Fontconfig &version;</refmiscinfo>
348 <refname>FcLangSetSubtract</refname>
349 <refpurpose>Subtract langsets</refpurpose>
354 #include <fontconfig/fontconfig.h>
357 <funcdef>FcLangSet * <function>FcLangSetSubtract</function></funcdef>
358 <paramdef>const FcLangSet *<parameter>ls_a</parameter></paramdef>
359 <paramdef>const FcLangSet *<parameter>ls_b</parameter></paramdef>
363 <refsect1><title>Description</title>
365 Returns a set including only those languages found in <parameter>ls_a</parameter> but not in <parameter>ls_b</parameter>.
368 <refsect1><title>Since</title>
369 <para>version 2.9.0</para>
373 fontconfig/doc/func.sgml
375 Copyright © 2003 Keith Packard
377 Permission to use, copy, modify, distribute, and sell this software and its
378 documentation for any purpose is hereby granted without fee, provided that
379 the above copyright notice appear in all copies and that both that
380 copyright notice and this permission notice appear in supporting
381 documentation, and that the name of the author(s) not be used in
382 advertising or publicity pertaining to distribution of the software without
383 specific, written prior permission. The authors make no
384 representations about the suitability of this software for any purpose. It
385 is provided "as is" without express or implied warranty.
387 THE AUTHOR(S) DISCLAIMS ALL WARRANTIES WITH REGARD TO THIS SOFTWARE,
388 INCLUDING ALL IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS, IN NO
389 EVENT SHALL THE AUTHOR(S) BE LIABLE FOR ANY SPECIAL, INDIRECT OR
390 CONSEQUENTIAL DAMAGES OR ANY DAMAGES WHATSOEVER RESULTING FROM LOSS OF USE,
391 DATA OR PROFITS, WHETHER IN AN ACTION OF CONTRACT, NEGLIGENCE OR OTHER
392 TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION WITH THE USE OR
393 PERFORMANCE OF THIS SOFTWARE.
395 <refentry id="FcLangSetCompare">
397 <refentrytitle>FcLangSetCompare</refentrytitle>
398 <manvolnum>3</manvolnum>
399 <refmiscinfo class="software">Fontconfig &version;</refmiscinfo>
402 <refname>FcLangSetCompare</refname>
403 <refpurpose>compare language sets</refpurpose>
408 #include <fontconfig/fontconfig.h>
411 <funcdef>FcLangResult <function>FcLangSetCompare</function></funcdef>
412 <paramdef>const FcLangSet *<parameter>ls_a</parameter></paramdef>
413 <paramdef>const FcLangSet *<parameter>ls_b</parameter></paramdef>
417 <refsect1><title>Description</title>
419 <function>FcLangSetCompare</function> compares language coverage for
420 <parameter>ls_a</parameter> and <parameter>ls_b</parameter>. If they share
421 any language and territory pair, this function returns FcLangEqual. If they
422 share a language but differ in which territory that language is for, this
423 function returns FcLangDifferentTerritory. If they share no languages in
424 common, this function returns FcLangDifferentLang.
429 fontconfig/doc/func.sgml
431 Copyright © 2003 Keith Packard
433 Permission to use, copy, modify, distribute, and sell this software and its
434 documentation for any purpose is hereby granted without fee, provided that
435 the above copyright notice appear in all copies and that both that
436 copyright notice and this permission notice appear in supporting
437 documentation, and that the name of the author(s) not be used in
438 advertising or publicity pertaining to distribution of the software without
439 specific, written prior permission. The authors make no
440 representations about the suitability of this software for any purpose. It
441 is provided "as is" without express or implied warranty.
443 THE AUTHOR(S) DISCLAIMS ALL WARRANTIES WITH REGARD TO THIS SOFTWARE,
444 INCLUDING ALL IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS, IN NO
445 EVENT SHALL THE AUTHOR(S) BE LIABLE FOR ANY SPECIAL, INDIRECT OR
446 CONSEQUENTIAL DAMAGES OR ANY DAMAGES WHATSOEVER RESULTING FROM LOSS OF USE,
447 DATA OR PROFITS, WHETHER IN AN ACTION OF CONTRACT, NEGLIGENCE OR OTHER
448 TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION WITH THE USE OR
449 PERFORMANCE OF THIS SOFTWARE.
451 <refentry id="FcLangSetContains">
453 <refentrytitle>FcLangSetContains</refentrytitle>
454 <manvolnum>3</manvolnum>
455 <refmiscinfo class="software">Fontconfig &version;</refmiscinfo>
458 <refname>FcLangSetContains</refname>
459 <refpurpose>check langset subset relation</refpurpose>
464 #include <fontconfig/fontconfig.h>
467 <funcdef>FcBool <function>FcLangSetContains</function></funcdef>
468 <paramdef>const FcLangSet *<parameter>ls_a</parameter></paramdef>
469 <paramdef>const FcLangSet *<parameter>ls_b</parameter></paramdef>
473 <refsect1><title>Description</title>
475 <function>FcLangSetContains</function> returns FcTrue if
476 <parameter>ls_a</parameter> contains every language in
477 <parameter>ls_b</parameter>. <parameter>ls_a</parameter> will 'contain' a
478 language from <parameter>ls_b</parameter> if <parameter>ls_a</parameter>
479 has exactly the language, or either the language or
480 <parameter>ls_a</parameter> has no territory.
485 fontconfig/doc/func.sgml
487 Copyright © 2003 Keith Packard
489 Permission to use, copy, modify, distribute, and sell this software and its
490 documentation for any purpose is hereby granted without fee, provided that
491 the above copyright notice appear in all copies and that both that
492 copyright notice and this permission notice appear in supporting
493 documentation, and that the name of the author(s) not be used in
494 advertising or publicity pertaining to distribution of the software without
495 specific, written prior permission. The authors make no
496 representations about the suitability of this software for any purpose. It
497 is provided "as is" without express or implied warranty.
499 THE AUTHOR(S) DISCLAIMS ALL WARRANTIES WITH REGARD TO THIS SOFTWARE,
500 INCLUDING ALL IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS, IN NO
501 EVENT SHALL THE AUTHOR(S) BE LIABLE FOR ANY SPECIAL, INDIRECT OR
502 CONSEQUENTIAL DAMAGES OR ANY DAMAGES WHATSOEVER RESULTING FROM LOSS OF USE,
503 DATA OR PROFITS, WHETHER IN AN ACTION OF CONTRACT, NEGLIGENCE OR OTHER
504 TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION WITH THE USE OR
505 PERFORMANCE OF THIS SOFTWARE.
507 <refentry id="FcLangSetEqual">
509 <refentrytitle>FcLangSetEqual</refentrytitle>
510 <manvolnum>3</manvolnum>
511 <refmiscinfo class="software">Fontconfig &version;</refmiscinfo>
514 <refname>FcLangSetEqual</refname>
515 <refpurpose>test for matching langsets</refpurpose>
520 #include <fontconfig/fontconfig.h>
523 <funcdef>FcBool <function>FcLangSetEqual</function></funcdef>
524 <paramdef>const FcLangSet *<parameter>ls_a</parameter></paramdef>
525 <paramdef>const FcLangSet *<parameter>ls_b</parameter></paramdef>
529 <refsect1><title>Description</title>
531 Returns FcTrue if and only if <parameter>ls_a</parameter> supports precisely
532 the same language and territory combinations as <parameter>ls_b</parameter>.
537 fontconfig/doc/func.sgml
539 Copyright © 2003 Keith Packard
541 Permission to use, copy, modify, distribute, and sell this software and its
542 documentation for any purpose is hereby granted without fee, provided that
543 the above copyright notice appear in all copies and that both that
544 copyright notice and this permission notice appear in supporting
545 documentation, and that the name of the author(s) not be used in
546 advertising or publicity pertaining to distribution of the software without
547 specific, written prior permission. The authors make no
548 representations about the suitability of this software for any purpose. It
549 is provided "as is" without express or implied warranty.
551 THE AUTHOR(S) DISCLAIMS ALL WARRANTIES WITH REGARD TO THIS SOFTWARE,
552 INCLUDING ALL IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS, IN NO
553 EVENT SHALL THE AUTHOR(S) BE LIABLE FOR ANY SPECIAL, INDIRECT OR
554 CONSEQUENTIAL DAMAGES OR ANY DAMAGES WHATSOEVER RESULTING FROM LOSS OF USE,
555 DATA OR PROFITS, WHETHER IN AN ACTION OF CONTRACT, NEGLIGENCE OR OTHER
556 TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION WITH THE USE OR
557 PERFORMANCE OF THIS SOFTWARE.
559 <refentry id="FcLangSetHash">
561 <refentrytitle>FcLangSetHash</refentrytitle>
562 <manvolnum>3</manvolnum>
563 <refmiscinfo class="software">Fontconfig &version;</refmiscinfo>
566 <refname>FcLangSetHash</refname>
567 <refpurpose>return a hash value for a langset</refpurpose>
572 #include <fontconfig/fontconfig.h>
575 <funcdef>FcChar32 <function>FcLangSetHash</function></funcdef>
576 <paramdef>const FcLangSet *<parameter>ls</parameter></paramdef>
580 <refsect1><title>Description</title>
582 This function returns a value which depends solely on the languages
583 supported by <parameter>ls</parameter>. Any language which equals
584 <parameter>ls</parameter> will have the same result from
585 <function>FcLangSetHash</function>. However, two langsets with the same hash
586 value may not be equal.
591 fontconfig/doc/func.sgml
593 Copyright © 2003 Keith Packard
595 Permission to use, copy, modify, distribute, and sell this software and its
596 documentation for any purpose is hereby granted without fee, provided that
597 the above copyright notice appear in all copies and that both that
598 copyright notice and this permission notice appear in supporting
599 documentation, and that the name of the author(s) not be used in
600 advertising or publicity pertaining to distribution of the software without
601 specific, written prior permission. The authors make no
602 representations about the suitability of this software for any purpose. It
603 is provided "as is" without express or implied warranty.
605 THE AUTHOR(S) DISCLAIMS ALL WARRANTIES WITH REGARD TO THIS SOFTWARE,
606 INCLUDING ALL IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS, IN NO
607 EVENT SHALL THE AUTHOR(S) BE LIABLE FOR ANY SPECIAL, INDIRECT OR
608 CONSEQUENTIAL DAMAGES OR ANY DAMAGES WHATSOEVER RESULTING FROM LOSS OF USE,
609 DATA OR PROFITS, WHETHER IN AN ACTION OF CONTRACT, NEGLIGENCE OR OTHER
610 TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION WITH THE USE OR
611 PERFORMANCE OF THIS SOFTWARE.
613 <refentry id="FcLangSetHasLang">
615 <refentrytitle>FcLangSetHasLang</refentrytitle>
616 <manvolnum>3</manvolnum>
617 <refmiscinfo class="software">Fontconfig &version;</refmiscinfo>
620 <refname>FcLangSetHasLang</refname>
621 <refpurpose>test langset for language support</refpurpose>
626 #include <fontconfig/fontconfig.h>
629 <funcdef>FcLangResult <function>FcLangSetHasLang</function></funcdef>
630 <paramdef>const FcLangSet *<parameter>ls</parameter></paramdef>
631 <paramdef>const FcChar8 *<parameter>lang</parameter></paramdef>
635 <refsect1><title>Description</title>
637 <function>FcLangSetHasLang</function> checks whether
638 <parameter>ls</parameter> supports <parameter>lang</parameter>. If
639 <parameter>ls</parameter> has a matching language and territory pair,
640 this function returns FcLangEqual. If <parameter>ls</parameter> has
641 a matching language but differs in which territory that language is for, this
642 function returns FcLangDifferentTerritory. If <parameter>ls</parameter>
643 has no matching language, this function returns FcLangDifferentLang.
648 fontconfig/doc/func.sgml
650 Copyright © 2003 Keith Packard
652 Permission to use, copy, modify, distribute, and sell this software and its
653 documentation for any purpose is hereby granted without fee, provided that
654 the above copyright notice appear in all copies and that both that
655 copyright notice and this permission notice appear in supporting
656 documentation, and that the name of the author(s) not be used in
657 advertising or publicity pertaining to distribution of the software without
658 specific, written prior permission. The authors make no
659 representations about the suitability of this software for any purpose. It
660 is provided "as is" without express or implied warranty.
662 THE AUTHOR(S) DISCLAIMS ALL WARRANTIES WITH REGARD TO THIS SOFTWARE,
663 INCLUDING ALL IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS, IN NO
664 EVENT SHALL THE AUTHOR(S) BE LIABLE FOR ANY SPECIAL, INDIRECT OR
665 CONSEQUENTIAL DAMAGES OR ANY DAMAGES WHATSOEVER RESULTING FROM LOSS OF USE,
666 DATA OR PROFITS, WHETHER IN AN ACTION OF CONTRACT, NEGLIGENCE OR OTHER
667 TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION WITH THE USE OR
668 PERFORMANCE OF THIS SOFTWARE.
670 <refentry id="FcGetDefaultLangs">
672 <refentrytitle>FcGetDefaultLangs</refentrytitle>
673 <manvolnum>3</manvolnum>
674 <refmiscinfo class="software">Fontconfig &version;</refmiscinfo>
677 <refname>FcGetDefaultLangs</refname>
678 <refpurpose>Get the default languages list</refpurpose>
683 #include <fontconfig/fontconfig.h>
686 <funcdef>FcStrSet * <function>FcGetDefaultLangs</function></funcdef>
687 <paramdef>void<parameter></parameter></paramdef>
691 <refsect1><title>Description</title>
693 Returns a string set of the default languages according to the environment variables on the system.
694 This function looks for them in order of FC_LANG, LC_ALL, LC_CTYPE and LANG then.
695 If there are no valid values in those environment variables, "en" will be set as fallback.
698 <refsect1><title>Since</title>
699 <para>version 2.9.91</para>
703 fontconfig/doc/func.sgml
705 Copyright © 2003 Keith Packard
707 Permission to use, copy, modify, distribute, and sell this software and its
708 documentation for any purpose is hereby granted without fee, provided that
709 the above copyright notice appear in all copies and that both that
710 copyright notice and this permission notice appear in supporting
711 documentation, and that the name of the author(s) not be used in
712 advertising or publicity pertaining to distribution of the software without
713 specific, written prior permission. The authors make no
714 representations about the suitability of this software for any purpose. It
715 is provided "as is" without express or implied warranty.
717 THE AUTHOR(S) DISCLAIMS ALL WARRANTIES WITH REGARD TO THIS SOFTWARE,
718 INCLUDING ALL IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS, IN NO
719 EVENT SHALL THE AUTHOR(S) BE LIABLE FOR ANY SPECIAL, INDIRECT OR
720 CONSEQUENTIAL DAMAGES OR ANY DAMAGES WHATSOEVER RESULTING FROM LOSS OF USE,
721 DATA OR PROFITS, WHETHER IN AN ACTION OF CONTRACT, NEGLIGENCE OR OTHER
722 TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION WITH THE USE OR
723 PERFORMANCE OF THIS SOFTWARE.
725 <refentry id="FcLangSetGetLangs">
727 <refentrytitle>FcLangSetGetLangs</refentrytitle>
728 <manvolnum>3</manvolnum>
729 <refmiscinfo class="software">Fontconfig &version;</refmiscinfo>
732 <refname>FcLangSetGetLangs</refname>
733 <refpurpose>get the list of languages in the langset</refpurpose>
738 #include <fontconfig/fontconfig.h>
741 <funcdef>FcStrSet * <function>FcLangSetGetLangs</function></funcdef>
742 <paramdef>const FcLangSet *<parameter>ls</parameter></paramdef>
746 <refsect1><title>Description</title>
748 Returns a string set of all languages in <parameter>langset</parameter>.
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="FcGetLangs">
777 <refentrytitle>FcGetLangs</refentrytitle>
778 <manvolnum>3</manvolnum>
779 <refmiscinfo class="software">Fontconfig &version;</refmiscinfo>
782 <refname>FcGetLangs</refname>
783 <refpurpose>Get list of languages</refpurpose>
788 #include <fontconfig/fontconfig.h>
791 <funcdef>FcStrSet * <function>FcGetLangs</function></funcdef>
792 <paramdef>void<parameter></parameter></paramdef>
796 <refsect1><title>Description</title>
798 Returns a string set of all known languages.
803 fontconfig/doc/func.sgml
805 Copyright © 2003 Keith Packard
807 Permission to use, copy, modify, distribute, and sell this software and its
808 documentation for any purpose is hereby granted without fee, provided that
809 the above copyright notice appear in all copies and that both that
810 copyright notice and this permission notice appear in supporting
811 documentation, and that the name of the author(s) not be used in
812 advertising or publicity pertaining to distribution of the software without
813 specific, written prior permission. The authors make no
814 representations about the suitability of this software for any purpose. It
815 is provided "as is" without express or implied warranty.
817 THE AUTHOR(S) DISCLAIMS ALL WARRANTIES WITH REGARD TO THIS SOFTWARE,
818 INCLUDING ALL IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS, IN NO
819 EVENT SHALL THE AUTHOR(S) BE LIABLE FOR ANY SPECIAL, INDIRECT OR
820 CONSEQUENTIAL DAMAGES OR ANY DAMAGES WHATSOEVER RESULTING FROM LOSS OF USE,
821 DATA OR PROFITS, WHETHER IN AN ACTION OF CONTRACT, NEGLIGENCE OR OTHER
822 TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION WITH THE USE OR
823 PERFORMANCE OF THIS SOFTWARE.
825 <refentry id="FcLangNormalize">
827 <refentrytitle>FcLangNormalize</refentrytitle>
828 <manvolnum>3</manvolnum>
829 <refmiscinfo class="software">Fontconfig &version;</refmiscinfo>
832 <refname>FcLangNormalize</refname>
833 <refpurpose>Normalize the language string</refpurpose>
838 #include <fontconfig/fontconfig.h>
841 <funcdef>FcChar8 * <function>FcLangNormalize</function></funcdef>
842 <paramdef>const FcChar8 *<parameter>lang</parameter></paramdef>
846 <refsect1><title>Description</title>
848 Returns a string to make <parameter>lang</parameter> suitable on fontconfig.
851 <refsect1><title>Since</title>
852 <para>version 2.10.91</para>
856 fontconfig/doc/func.sgml
858 Copyright © 2003 Keith Packard
860 Permission to use, copy, modify, distribute, and sell this software and its
861 documentation for any purpose is hereby granted without fee, provided that
862 the above copyright notice appear in all copies and that both that
863 copyright notice and this permission notice appear in supporting
864 documentation, and that the name of the author(s) not be used in
865 advertising or publicity pertaining to distribution of the software without
866 specific, written prior permission. The authors make no
867 representations about the suitability of this software for any purpose. It
868 is provided "as is" without express or implied warranty.
870 THE AUTHOR(S) DISCLAIMS ALL WARRANTIES WITH REGARD TO THIS SOFTWARE,
871 INCLUDING ALL IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS, IN NO
872 EVENT SHALL THE AUTHOR(S) BE LIABLE FOR ANY SPECIAL, INDIRECT OR
873 CONSEQUENTIAL DAMAGES OR ANY DAMAGES WHATSOEVER RESULTING FROM LOSS OF USE,
874 DATA OR PROFITS, WHETHER IN AN ACTION OF CONTRACT, NEGLIGENCE OR OTHER
875 TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION WITH THE USE OR
876 PERFORMANCE OF THIS SOFTWARE.
878 <refentry id="FcLangGetCharSet">
880 <refentrytitle>FcLangGetCharSet</refentrytitle>
881 <manvolnum>3</manvolnum>
882 <refmiscinfo class="software">Fontconfig &version;</refmiscinfo>
885 <refname>FcLangGetCharSet</refname>
886 <refpurpose>Get character map for a language</refpurpose>
891 #include <fontconfig/fontconfig.h>
894 <funcdef>const FcCharSet * <function>FcLangGetCharSet</function></funcdef>
895 <paramdef>const FcChar8 *<parameter>lang</parameter></paramdef>
899 <refsect1><title>Description</title>
901 Returns the FcCharMap for a language.