1fcft_capabilities(3) fcft fcft_capabilities(3)
2
3
4
6 fcft_capabilities - available optional library capabilities
7
9 #include <fcft/fcft.h>
10
11 enum fcft_capabilities fcft_capabilities(void);
12
14 fcft_capabilities() returns a bitmask of enabled optional library capa‐
15 bilities:
16
17 enum fcft_capabilities {
18 FCFT_CAPABILITY_GRAPHEME_SHAPING = 0x1, /* Since 2.3.0 */
19 FCFT_CAPABILITY_TEXT_RUN_SHAPING = 0x2, /* Since 2.4.0 */
20 FCFT_CAPABILITY_SVG = 0x4, /* Since 3.1.0 */
21 };
22
24 fcft can do grapheme shaping (using HarfBuzz), and fcft_grapheme_ras‐
25 terize() can be expected to return non-NULL.
26
28 fcft can do text-run shaping (using HarfBuzz), and fcft_text_run_ras‐
29 terize() can be expected to return non-NULL.
30
32 fcft can rasterize glyphs from OT-SVG fonts.
33
35 fcft_grapheme_glyph_rasterize(), fcft_text_run_rasterize()
36
37
38
393.1.6 2023-07-14 fcft_capabilities(3)