hb-ot-shape

hb-ot-shape — OpenType shaping support

Functions

Includes

#include <hb-ot.h>

Description

Support functions for OpenType shaping related queries.

Functions

hb_ot_shape_glyphs_closure ()

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

Computes the transitive closure of glyphs needed for a specified input buffer under the given font and feature list. The closure is computed as a set, not as a list.

Parameters

font

hb_font_t to work upon

 

buffer

The input buffer to compute from

 

features

The features enabled on the buffer.

[array length=num_features]

num_features

The number of features enabled on the buffer

 

glyphs

The hb_set_t set of glyphs comprising the transitive closure of the query.

[out]

Since: 0.9.2