]> git.wh0rd.org - fontconfig.git/blobdiff - doc/fclangset.fncs
Add <range> support for <blank> into the DTD
[fontconfig.git] / doc / fclangset.fncs
index 8ae5f5c1c9cd069ac18b11b3625fecb4b9e19f21..fd1634f9b3be0197eeb10ef5bb7e922851edc1e4 100644 (file)
@@ -58,6 +58,36 @@ two or three letter language from ISO 639 and Tt is a territory from ISO
 3166.
 @@
 
+@RET@          FcBool
+@FUNC@         FcLangSetDel
+@TYPE1@                FcLangSet *                     @ARG1@          ls
+@TYPE2@                const FcChar8 *                 @ARG2@          lang
+@PURPOSE@      remove a language from a langset
+@DESC@
+<parameter>lang</parameter> is removed from <parameter>ls</parameter>.
+<parameter>lang</parameter> should be of the form Ll-Tt where Ll is a
+two or three letter language from ISO 639 and Tt is a territory from ISO
+3166.
+@@
+
+@RET@          FcLangSet *
+@FUNC@         FcLangSetUnion
+@TYPE1@                const FcLangSet *               @ARG1@          ls_a
+@TYPE2@                const FcLangSet *               @ARG2@          ls_b
+@PURPOSE@      Add langsets
+@DESC@
+Returns a set including only those languages found in either <parameter>ls_a</parameter> or <parameter>ls_b</parameter>.
+@@
+
+@RET@          FcLangSet *
+@FUNC@         FcLangSetSubtract
+@TYPE1@                const FcLangSet *               @ARG1@          ls_a
+@TYPE2@                const FcLangSet *               @ARG2@          ls_b
+@PURPOSE@      Subtract langsets
+@DESC@
+Returns a set including only those languages found in <parameter>ls_a</parameter> but not <parameter>ls_b</parameter>.
+@@
+
 @RET@          FcLangResult
 @FUNC@         FcLangSetCompare
 @TYPE1@                const FcLangSet *               @ARG1@          ls_a
@@ -122,3 +152,27 @@ a matching language but differs in which territory that language is for, this
 function returns FcLangDiffentTerritory. If <parameter>ls</parameter> 
 has no matching language, this function returns FcLangDifferentLang.
 @@
+
+@RET@          FcStrSet *
+@FUNC@         FcLangSetGetLangs
+@TYPE1@                const FcLangSet *               @ARG1@          ls
+@PURPOSE@      get the list of languages in the langset
+@DESC@
+Returns a string set of all languages in <parameter>langset</parameter>.
+@@
+
+@RET@          FcStrSet *
+@FUNC@         FcGetLangs
+@TYPE1@                void
+@PURPOSE@      Get list of languages
+@DESC@
+Returns a string set of all known languages.
+@@
+
+@RET@          const FcCharSet *
+@FUNC@         FcLangGetCharSet
+@TYPE1@                const FcChar8 *                 @ARG1@          lang
+@PURPOSE@      Get character map for a language
+@DESC@
+Returns the FcCharMap for a language.
+@@