shape
fn
void shape(harfbuzz.font.Font font, harfbuzz.buffer.Buffer buffer, harfbuzz.feature.Feature[] features = null)Shapes buffer using font turning its Unicode characters content to positioned glyphs. If features is not NULL, it will be used to control the features applied during shaping. If two features have the same tag but overlapping ranges the value of the feature with the higher index takes precedence.
Parameters
font | an #hb_font_t to use for shaping |
buffer | an #hb_buffer_t to shape |
features | an array of user specified #hb_feature_t or NULL |