fcft_capabilities - Man Page

available optional library capabilities

Synopsis

#include <fcft/fcft.h>

enum fcft_capabilities fcft_capabilities(void);

Description

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_capability_grapheme_shaping

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

Fcft_capability_text_run_shaping

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

Fcft_capability_svg

fcft can rasterize glyphs from OT-SVG fonts.

See Also

fcft_grapheme_glyph_rasterize(), fcft_text_run_rasterize()

Info

2024-10-24 3.1.9 fcft