Skip to main content

process_chunk

Function process_chunk 

Source
fn process_chunk(
    chunk: &TextChunk,
    resolver: &FontResolver<'_>,
    fonts: &mut FontCache,
) -> Vec<GlyphCluster>
Expand description

Converts a text chunk into a list of outlined clusters.

This function will do the BIDI reordering, text shaping and glyphs outlining, but not the text layouting. So all clusters are in the 0x0 position.