From fa269cf812ee304534b0e4c44662202496008db0 Mon Sep 17 00:00:00 2001 From: Akira TAGOH Date: Thu, 9 Dec 2010 11:57:24 +0900 Subject: [PATCH] add some documents --- doc/fclangset.fncs | 30 ++++++++++++++++++++++++++++++ doc/fontconfig-user.sgml | 4 ++++ 2 files changed, 34 insertions(+) diff --git a/doc/fclangset.fncs b/doc/fclangset.fncs index f9d578e..fd1634f 100644 --- a/doc/fclangset.fncs +++ b/doc/fclangset.fncs @@ -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@ +lang is removed from ls. +lang 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 ls_a or ls_b. +@@ + +@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 ls_a but not ls_b. +@@ + @RET@ FcLangResult @FUNC@ FcLangSetCompare @TYPE1@ const FcLangSet * @ARG1@ ls_a diff --git a/doc/fontconfig-user.sgml b/doc/fontconfig-user.sgml index ce6f158..b870825 100644 --- a/doc/fontconfig-user.sgml +++ b/doc/fontconfig-user.sgml @@ -439,6 +439,10 @@ representation. <literal><charset></literal> This element holds at least one <int> element of an Unicode code point or more. + + <literal><langset></literal> +This element holds at least one <string> element of +a RFC-3066-style languages or more. <literal><name></literal> Holds a property name. Evaluates to the first value from the property of -- 2.39.5