DOKK / manpages / debian 12 / libfcft-doc / fcft_capabilities.3.en
fcft_capabilities(3) fcft fcft_capabilities(3)

fcft_capabilities - available optional library capabilities

#include <fcft/fcft.h>

enum fcft_capabilities fcft_capabilities(void);

fcft_capabilities() returns a bitmask of enabled optional library capabilities:

enum fcft_capabilities {

FCFT_CAPABILITY_GRAPHEME_SHAPING = 0x1, /* Since 2.3.0 */
FCFT_CAPABILITY_TEXT_RUN_SHAPING = 0x2, /* Since 2.4.0 */
FCFT_CAPABILITY_SVG = 0x4, /* Since 3.1.0 */ };

fcft can do grapheme shaping (using HarfBuzz), and fcft_grapheme_rasterize() can be expected to return non-NULL.

fcft can do text-run shaping (using HarfBuzz), and fcft_text_run_rasterize() can be expected to return non-NULL.

fcft can rasterize glyphs from OT-SVG fonts.

fcft_grapheme_glyph_rasterize(), fcft_text_run_rasterize()

2022-12-01 3.1.5