FcFontationsQueryAll(3)

πŸ“¦
version 2.17.1 Β· 4 versions
, in alpine 3.23, alpine 3.24

πŸ¦‹ NAME πŸ¦‹

okay so this is FcFontationsQueryAll(3), straight from the Fontconfig manual, and it’s giving β€œcompute all patterns from font file (and index)” energy. literally that’s the whole name, bestie ✨

🌸 SYNOPSIS 🌸

#include <fontconfig.h>
#include <fcfontations.h>

unsigned int FcFontationsQueryAll (const FcChar8 *file, int id, FcBlanks *blanks, int *count, FcFontSet *set);

πŸ’… DESCRIPTION πŸ’…

okay so heads up: this is an UNSTABLE feature. not me being dramatic, it’s literally right there. it constructs patterns found in file. currently the pattern is incomplete compared to FcFreeTypeQueryAll() and may deviate from what FreeType indexing produces. no cap 😭

this part is not supported yet, but it will follow: if id is -1, then all patterns found in file are added to set. otherwise, this function works exactly like FcFreeTypeQueryAll()/FcFreeTypeQuery().

the number of faces in file is returned in count. the number of patterns added to set is returned. 🫢

FcBlanks is deprecated, so blanks is ignored and accepted only for compatibility with older code. periodt πŸ’…

⭐ SINCE ⭐

version 2.17.0


cute sign-off: Fontconfig 2.17.1, dated 02 July 2025. mwah πŸ’‹

πŸ“¦ where this page comes from