hb-shape

hb-shape

Synopsis

hb_bool_t           hb_feature_from_string              (const char *str,
                                                         int len,
                                                         hb_feature_t *feature);
                    hb_feature_t;
void                hb_feature_to_string                (hb_feature_t *feature,
                                                         char *buf,
                                                         unsigned int size);
void                hb_shape                            (hb_font_t *font,
                                                         hb_buffer_t *buffer,
                                                         const hb_feature_t *features,
                                                         unsigned int num_features);
hb_bool_t           hb_shape_full                       (hb_font_t *font,
                                                         hb_buffer_t *buffer,
                                                         const hb_feature_t *features,
                                                         unsigned int num_features,
                                                         const char * const *shaper_list);
const char **       hb_shape_list_shapers               (void);

Object Hierarchy

  GBoxed
   +----hb_feature_t

Description

Details

hb_feature_from_string ()

hb_bool_t           hb_feature_from_string              (const char *str,
                                                         int len,
                                                         hb_feature_t *feature);


hb_feature_t

typedef struct {
  hb_tag_t      tag;
  uint32_t      value;
  unsigned int  start;
  unsigned int  end;
} hb_feature_t;


hb_feature_to_string ()

void                hb_feature_to_string                (hb_feature_t *feature,
                                                         char *buf,
                                                         unsigned int size);


hb_shape ()

void                hb_shape                            (hb_font_t *font,
                                                         hb_buffer_t *buffer,
                                                         const hb_feature_t *features,
                                                         unsigned int num_features);


hb_shape_full ()

hb_bool_t           hb_shape_full                       (hb_font_t *font,
                                                         hb_buffer_t *buffer,
                                                         const hb_feature_t *features,
                                                         unsigned int num_features,
                                                         const char * const *shaper_list);


hb_shape_list_shapers ()

const char **       hb_shape_list_shapers               (void);