pub fn rt_positioned_glyphs<'a, I>(
    lines_with_rects: I,
    font: &'a Font,
    font_size: FontSize,
    window_size: Vec2,
    scale_factor: Scalar
) -> impl 'a + Iterator<Item = PositionedGlyph>
where I: IntoIterator<Item = (&'a str, Rect)>, I::IntoIter: 'a,
Expand description

Produce the position of each glyph ready for the rusttype glyph cache.

Window dimensions are expected in logical coordinates.