logo
Free, unlimited AI code reviews that run on commit
git-lrc git-lrc GitHub Install Now We'd appreciate a star git-lrc - Free, unlimited AI code reviews that run on commit | Product Hunt git-lrc - Free, unlimited AI code reviews that run on commit | Product Hunt

fcft_capabilities - available optional library capabilities

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_Svg

       fcft can rasterize glyphs from OT-SVG fonts.

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.

Name

       fcft_capabilities - available optional library capabilities

See Also

fcft_grapheme_glyph_rasterize(), fcft_text_run_rasterize()

3.3.1                                              2025-03-22                               fcft_capabilities(3)

Synopsis

#include<fcft/fcft.h>enumfcft_capabilitiesfcft_capabilities(void);