xenocara/dist/fontconfig/doc/FcLangSetHasLang.3
matthieu 6219851df2 Update to fontconfig 2.12.1.
Tested by krw@, dcoppa@, ok dcoppa@.
2016-08-09 18:57:41 +00:00

20 lines
749 B
Groff

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