fn resolve_clusters_positions(
text: &Text,
chunk: &TextChunk,
char_offset: usize,
writing_mode: WritingMode,
fonts_cache: &HashMap<Font, Arc<ResolvedFont>>,
clusters: &mut [GlyphCluster],
) -> (f32, f32)
Expand description
Resolves clusters positions.
Mainly sets the transform
property.
Returns the last text position. The next text chunk should start from that position.