Function harfbuzz_rs::shape
[−]
[src]
pub fn shape(
font: &Font,
buffer: UnicodeBuffer,
features: &[Feature]
) -> GlyphBuffer
Shape the contents of the buffer using the provided font and activating all OpenType features
given in features
.
This function consumes the buffer
and returns a GlyphBuffer
containing the
resulting glyph indices and the corresponding positioning information.