Skip to main content

layout_word

Function layout_word 

Source
pub fn layout_word(
    font: &FontRef<'_>,
    text: &str,
    params: &GlyphParams,
) -> Result<Vec<GlyphSolid>, GlyphError>
Expand description

Places glyphs in a shared word frame with baseline y = 0 and first pen origin x = 0.