[−][src]Function azul_text_layout::text_layout::words_to_scaled_words
pub fn words_to_scaled_words(
words: &Words,
font_bytes: &[u8],
font_index: u32,
font_metrics: FontMetrics,
font_size_px: f32
) -> ScaledWords
Takes a text broken into semantic items and a font instance and scales the font accordingly.