]> git.wh0rd.org Git - fontconfig.git/commitdiff
add some documents
authorAkira TAGOH <akira@tagoh.org>
Thu, 9 Dec 2010 02:57:24 +0000 (11:57 +0900)
committerAkira TAGOH <akira@tagoh.org>
Thu, 9 Dec 2010 02:57:24 +0000 (11:57 +0900)
doc/fclangset.fncs
doc/fontconfig-user.sgml

index f9d578e6585f9818758268c5d08ab0626c443188..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
index ce6f1588a574a82bf66f35406efaad7044187250..b870825f21685eacc3d61a15b5273c0aec6efba9 100644 (file)
@@ -439,6 +439,10 @@ representation.
   <refsect2><title><literal>&lt;charset&gt;</literal></title><para>
 This element holds at least one <literal>&lt;int&gt;</literal> element of
 an Unicode code point or more.
+  </para></refsect2>
+  <refsect2><title><literal>&lt;langset&gt;</literal></title><para>
+This element holds at least one <literal>&lt;string&gt;</literal> element of
+a RFC-3066-style languages or more.
   </para></refsect2>
   <refsect2><title><literal>&lt;name&gt;</literal></title><para>
 Holds a property name.  Evaluates to the first value from the property of