FcGetDefaultLangs(3)
π FcGetDefaultLangs(3)
okay bestie, welcome to a Fontconfig manual page. we're folding the manual name in right here: this is Fontconfig, and this page is about FcGetDefaultLangs. let's get into it. β¨
πΈ NAME πΈ
FcGetDefaultLangs β get the default languages list. that's the whole vibe. π
β¨ SYNOPSIS β¨
#include <fontconfig/fontconfig.h>
FcStrSet * FcGetDefaultLangs (void);
π¦ DESCRIPTION π¦
okay so picture this: you call this function and it returns a string set of the default languages according to the environment variables on the system. the env vars are literally the main characters here.
It looks for them in this exact order:
FC_LANGLC_ALLLC_CTYPELANG
and then, if there are no valid values in those environment variables, "en" will be set as fallback. safety net activated, periodt. π«Ά
π¨ important era: this function has been replaced by FcConfigGetDefaultLangs and will be deprecated. so like, she's being replaced and the deprecation is coming β noted, no cap. π
π SINCE π
version 2.9.91 β a vintage icon, honestly. β
and that's the page, bestie π Fontconfig 2.17.0, dated 27 June 2025 β cute sign-off, slay. πβ¨
π¦ 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