FcDirScan(3)
π FcDirScan(3) π
okay bestie, welcome to the FcDirScan(3) page from the fontconfig manual β lowkey niche, highkey useful, and we're gonna vibe through it together. β¨
πΈ NAME πΈ
FcDirScan β scan a font directory without caching it. no cap, that's literally the whole assignment. π
π SYNOPSIS π
#include <fontconfig/fontconfig.h>
FcBool FcDirScan (FcFontSet *set, FcStrSet *dirs, FcFileCache *cache, FcBlanks *blanks, const FcChar8 *dir, FcBool force);
π¦ DESCRIPTION π¦
okay so here's the tea β β this function has a very specific mood. when cache is not zero, or when force is FcFalse, FcDirScan currently returns FcFalse. that's it. that's the vibe check. π«
otherwise, it scans an entire directory and adds all the fonts it finds to set. any subdirectories it finds get added to dirs. π
and the big one, bestie: calling this function does not create any cache files. periodt. if you want caching, you use FcDirCacheRead() instead β iykyk. π
β¨ Fontconfig 2.17.0 β 27 June 2025 β¨ β that's the version and date, bestie. stan the footer. π«Ά
π¦ 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