xenocara/dist/fontconfig/doc/FcLangSetHasLang.3

20 lines
749 B
Groff

.\" auto-generated by docbook2man-spec from docbook-utils package
.TH "FcLangSetHasLang" "3" "24 3月 2014" "Fontconfig 2.11.1" ""
.SH NAME
FcLangSetHasLang \- test langset for language support
.SH SYNOPSIS
.nf
\fB#include <fontconfig/fontconfig.h>
.sp
FcLangResult FcLangSetHasLang (const FcLangSet *\fIls\fB, const FcChar8 *\fIlang\fB);
.fi\fR
.SH "DESCRIPTION"
.PP
\fBFcLangSetHasLang\fR checks whether
\fIls\fR supports \fIlang\fR\&. If
\fIls\fR has a matching language and territory pair,
this function returns FcLangEqual. If \fIls\fR has
a matching language but differs in which territory that language is for, this
function returns FcLangDifferentTerritory. If \fIls\fR
has no matching language, this function returns FcLangDifferentLang.