X-Git-Url: http://review.tizen.org/git/?a=blobdiff_plain;f=doc%2Ffclangset.fncs;h=c08d60c709699b46abbf704ef3c349a269a861a7;hb=80081555fdffea927a53fce2773cfbe9db4c51f0;hp=0a44b38c2212c0712d968a505541c4802bba26ae;hpb=7baa20c7590b12d11dcfb0a50131d50963581258;p=platform%2Fupstream%2Ffontconfig.git diff --git a/doc/fclangset.fncs b/doc/fclangset.fncs index 0a44b38..c08d60c 100644 --- a/doc/fclangset.fncs +++ b/doc/fclangset.fncs @@ -154,6 +154,15 @@ has no matching language, this function returns FcLangDifferentLang. @@ @RET@ FcStrSet * +@FUNC@ FcGetDefaultLangs +@TYPE1@ void +@PURPOSE@ Get the default languages list +@DESC@ +Returns a string set of the default languages according to the environment variables on the system. +This function looks for them in order of FC_LANG, LC_ALL, LC_CTYPE and LANG then. +If there are no valid values in those environment variables, "en" will be set as fallback. + +@RET@ FcStrSet * @FUNC@ FcLangSetGetLangs @TYPE1@ const FcLangSet * @ARG1@ ls @PURPOSE@ get the list of languages in the langset @@ -169,6 +178,14 @@ Returns a string set of all languages in langset. Returns a string set of all known languages. @@ +@RET@ FcChar8 * +@FUNC@ FcLangNormalize +@TYPE1@ const FcChar8 * @ARG1@ lang +@PURPOSE@ Normalize the language string +@DESC@ +Returns a string to make lang suitable on fontconfig. +@@ + @RET@ const FcCharSet * @FUNC@ FcLangGetCharSet @TYPE1@ const FcChar8 * @ARG1@ lang