[][src]Function rustybuzz::shape

pub fn shape(
    face: &Face<'_>,
    features: &[Feature],
    buffer: UnicodeBuffer
) -> GlyphBuffer

Shapes the buffer content using provided font and features.

Consumes the buffer. You can then run GlyphBuffer::clear to get the UnicodeBuffer back without allocating a new one.