.\" This manpage has been automatically generated by docbook2man
.\" from a DocBook document. This tool can be found at:
.\"
.\" Please send any bug reports, improvements, comments, patches,
.\" etc. to Steve Cheng .
.TH "FcLangSetHasLang" "3" "2022/03/31" "Fontconfig 2.14.0" ""
.SH NAME
FcLangSetHasLang \- test langset for language support
.SH SYNOPSIS
.sp
\fB#include
.sp
FcLangResult FcLangSetHasLang (const FcLangSet *\fIls\fB, const FcChar8 *\fIlang\fB);
\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.