FcNameConstant(3)
π FcNameConstant(3) β the fontconfig glow-up you didn't know you needed
okay so bestie, welcome to FcNameConstant(3) β yes that's the manual name, we're being official today π this is the little lookup helper that tells you whether a symbolic constant is, like, a thing in fontconfig, and hands you its value if it is. no cap, it's short and sweet.
β¨ SYNOPSIS β¨
#include <fontconfig/fontconfig.h>
FcBool FcNameConstant (FcChar8 *string, int *result);
πΈ DESCRIPTION πΈ
So here's the vibe: FcNameConstant returns whether a symbolic constant with the name string is registered π and if it is present, it drops the value of that constant into result. that's it. that's the whole function. iconic, minimal, ate π
π«Ά quick reminder: the return value is the yes/no (FcBool), andresultis where the actual constant value lands if present β so like, pay attention to both, bestie.
β¨ that's the whole page, you're literally a fontconfig expert now β¨
signed, sealed, delivered by Fontconfig 2.17.0, dated 27 June 2025 ποΈπ mwah!
π¦ 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