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.

01 January 2024 Fontconfig 2.15.0