xenocara/dist/fontconfig/doc/FcLangSetHasLang.3
2017-08-19 10:11:04 +00:00

20 lines
749 B
Groff

.\" auto-generated by docbook2man-spec from docbook-utils package
.TH "FcLangSetHasLang" "3" "05 7月 2017" "Fontconfig 2.12.4" ""
.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.