FcFontSetAdd(3) FcFontSetAdd(3)

FcFontSetAdd - Add to a font set

#include <fontconfig/fontconfig.h>

FcBool FcFontSetAdd (FcFontSet *s, FcPattern *font);

Adds a pattern to a font set. Note that the pattern is not copied before being inserted into the set. Returns FcFalse if the pattern cannot be inserted into the set (due to allocation failure). Otherwise returns FcTrue.

27 January 2023 Fontconfig 2.14.2