hb-buffer: HarfBuzz Manual

## hb-buffer hb-buffer |

## Types and Values

#define | HB_SEGMENT_PROPERTIES_DEFAULT
enum | hb_buffer_content_type_t
enum | hb_buffer_flags_t
enum | hb_buffer_serialize_flags_t
enum | hb_buffer_serialize_format_t
typedef | hb_buffer_t
| hb_glyph_info_t
| hb_glyph_position_t
| hb_segment_properties_t

## Description

## Functions

## Types and Values

### HB_SEGMENT_PROPERTIES_DEFAULT

    #define             HB_SEGMENT_PROPERTIES_DEFAULT

### enum hb_buffer_content_type_t

#### Members

HB_BUFFER_CONTENT_TYPE_INVALID |  |
HB_BUFFER_CONTENT_TYPE_UNICODE |  |
HB_BUFFER_CONTENT_TYPE_GLYPHS |  |

### enum hb_buffer_flags_t

#### Members

HB_BUFFER_FLAG_DEFAULT |  |
HB_BUFFER_FLAG_BOT |  |
HB_BUFFER_FLAG_EOT |  |
HB_BUFFER_FLAG_PRESERVE_DEFAULT_IGNORABLES |  |

### enum hb_buffer_serialize_flags_t

#### Members

HB_BUFFER_SERIALIZE_FLAG_DEFAULT |  |
HB_BUFFER_SERIALIZE_FLAG_NO_CLUSTERS |  |
HB_BUFFER_SERIALIZE_FLAG_NO_POSITIONS |  |
HB_BUFFER_SERIALIZE_FLAG_NO_GLYPH_NAMES |  |
HB_BUFFER_SERIALIZE_FLAG_GLYPH_EXTENTS |  |

### enum hb_buffer_serialize_format_t

#### Members

HB_BUFFER_SERIALIZE_FORMAT_TEXT |  |
HB_BUFFER_SERIALIZE_FORMAT_JSON |  |
HB_BUFFER_SERIALIZE_FORMAT_INVALID |  |

### hb_buffer_t

    typedef struct hb_buffer_t hb_buffer_t;

### hb_glyph_info_t

    typedef struct {
      hb_codepoint_t codepoint;
      hb_mask_t      mask;
      uint32_t       cluster;
    } hb_glyph_info_t;

### hb_glyph_position_t

    typedef struct {
      hb_position_t  x_advance;
      hb_position_t  y_advance;
      hb_position_t  x_offset;
      hb_position_t  y_offset;
    } hb_glyph_position_t;

### hb_segment_properties_t

    typedef struct {
      hb_direction_t  direction;
      hb_script_t     script;
      hb_language_t   language;
    } hb_segment_properties_t;