|
|
|
@ -44,7 +44,6 @@ HB_BEGIN_DECLS |
|
|
|
|
* hb_glyph_info_t: |
|
|
|
|
* @codepoint: either a Unicode code point (before shaping) or a glyph index |
|
|
|
|
* (after shaping). |
|
|
|
|
* @mask:
|
|
|
|
|
* @cluster: the index of the character in the original text that corresponds |
|
|
|
|
* to this #hb_glyph_info_t, or whatever the client passes to |
|
|
|
|
* hb_buffer_add(). More than one #hb_glyph_info_t can have the same |
|
|
|
@ -59,11 +58,13 @@ HB_BEGIN_DECLS |
|
|
|
|
* |
|
|
|
|
* The #hb_glyph_info_t is the structure that holds information about the |
|
|
|
|
* glyphs and their relation to input text. |
|
|
|
|
* |
|
|
|
|
*/ |
|
|
|
|
typedef struct hb_glyph_info_t { |
|
|
|
|
typedef struct hb_glyph_info_t |
|
|
|
|
{ |
|
|
|
|
hb_codepoint_t codepoint; |
|
|
|
|
hb_mask_t mask; /* Holds hb_glyph_flags_t after hb_shape(), plus other things. */ |
|
|
|
|
/*< private >*/ |
|
|
|
|
hb_mask_t mask; |
|
|
|
|
/*< public >*/ |
|
|
|
|
uint32_t cluster; |
|
|
|
|
|
|
|
|
|
/*< private >*/ |
|
|
|
@ -92,6 +93,7 @@ typedef struct hb_glyph_info_t { |
|
|
|
|
typedef enum { /*< flags >*/ |
|
|
|
|
HB_GLYPH_FLAG_UNSAFE_TO_BREAK = 0x00000001, |
|
|
|
|
|
|
|
|
|
/*< private >*/ |
|
|
|
|
HB_GLYPH_FLAG_DEFINED = 0x00000001 /* OR of all defined flags */ |
|
|
|
|
} hb_glyph_flags_t; |
|
|
|
|
|
|
|
|
@ -298,7 +300,15 @@ hb_buffer_set_flags (hb_buffer_t *buffer, |
|
|
|
|
HB_EXTERN hb_buffer_flags_t |
|
|
|
|
hb_buffer_get_flags (hb_buffer_t *buffer); |
|
|
|
|
|
|
|
|
|
/*
|
|
|
|
|
/**
|
|
|
|
|
* hb_buffer_cluster_level_t: |
|
|
|
|
* @HB_BUFFER_CLUSTER_LEVEL_MONOTONE_GRAPHEMES: Return cluster values grouped by graphemes into |
|
|
|
|
* monotone order. |
|
|
|
|
* @HB_BUFFER_CLUSTER_LEVEL_MONOTONE_CHARACTERS: Return cluster values grouped into monotone order. |
|
|
|
|
* @HB_BUFFER_CLUSTER_LEVEL_CHARACTERS: Don't group cluster values. |
|
|
|
|
* @HB_BUFFER_CLUSTER_LEVEL_DEFAULT: Default cluster level, |
|
|
|
|
* equal to @HB_BUFFER_CLUSTER_LEVEL_MONOTONE_GRAPHEMES. |
|
|
|
|
* |
|
|
|
|
* Since: 0.9.42 |
|
|
|
|
*/ |
|
|
|
|
typedef enum { |
|
|
|
|