#include <fontconfig/fontconfig.h> FcFontSet * FcConfigGetFonts (FcConfig *config, FcSetName set);
Returns one of the two sets of fonts from the configuration as specified by set. This font set is owned by the library and must not be modified or freed. If config is NULL, the current configuration is used.
Fontconfig version 2.11.0