FcLangSetContains(3)
π FcLangSetContains(3) π
okay so this is a page from the fontconfig manual, and it's honestly a tiny little icon. it's all about checking whether one language set is a subset of another. short, sweet, slays.
β¨ NAME β¨
FcLangSetContains β checks the langset subset relation π«Ά like is this whole vibe contained in that other vibe
πΈ SYNOPSIS πΈ
#include <fontconfig/fontconfig.h>
FcBool FcLangSetContains (const FcLangSet *ls_a, const FcLangSet *ls_b);
π¦ DESCRIPTION π¦
okay bestie, here's the tea β β FcLangSetContains returns FcTrue if ls_a contains every single language in ls_b. every one. no stragglers, no leftovers, all of them accounted for π―
so how does ls_a actually "contain" a language from ls_b? two ways, and they're both giving main character energy:
ls_ahas exactly that language β like, an exact match, no cap π―- OR either the language or
ls_ahas no territory β so the territory situation is just... not a factor, and it still counts as contained π
that's literally it. that's the whole check. short king of a function π
ngl it's giving "subset check but make it about language tags and territories" β remember, the match has to be exact OR territory-free. those are the only two doors in πͺβ¨
π a lil sign-off π
this page is from Fontconfig 2.17.0, dated 27 June 2025 β so go forth and subset-check with confidence, bestie π periodt.
π¦ where this page comes from
- fedora 43: fontconfig-devel 2.17.0-3.fc43 Β· HPND AND LicenseRef-Fedora-Public-Domain AND Unicode-DFS-2016
- fedora 43: fontconfig-devel 2.17.0-3.fc43 Β· HPND AND LicenseRef-Fedora-Public-Domain AND Unicode-DFS-2016
- fedora 44: fontconfig-devel 2.17.0-4.fc44 Β· HPND AND LicenseRef-Fedora-Public-Domain AND Unicode-DFS-2016
- fedora 44: fontconfig-devel 2.17.0-4.fc44 Β· HPND AND LicenseRef-Fedora-Public-Domain AND Unicode-DFS-2016
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash-1017 on : a language model's rewrite of the original, under its terms