FcConfigAppFontAddDir(3)
π FcConfigAppFontAddDir π
okay bestie, you're on the FcConfigAppFontAddDir(3) page of the fontconfig manual, and honestly? It's a cute little function with one job: fonts go in, directory gets scanned, application-specific font set gets fed πβ¨
π NAME π
FcConfigAppFontAddDir β adds fonts from a directory into the font database. iconic behavior, no notes π
β¨ SYNOPSIS β¨
#include <fontconfig/fontconfig.h>
FcBool FcConfigAppFontAddDir (FcConfig *config, const FcChar8 *dir);
πΈ DESCRIPTION πΈ
So here's the tea: FcConfigAppFontAddDir scans the directory you give it in dir for fonts, and it adds each font it finds to the application-specific set of fonts π. Every single one it finds gets added β it's giving collector energy, fr fr.
It returns FcFalse if the fonts cannot be added β the page attributes that to allocation failure, so like, memory said βnot todayβ π. Otherwise, it returns FcTrue π.
If config is NULL, the current configuration is used. That's it, that's the function, and it ate π
sign-off szn: Fontconfig 2.17.0, 27 June 2025 β mwah, bestie πβ¨
π¦ 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