Fast GPU cached text rendering
4
.Text::new
to work with any X
type. This may break usage, however it will hopefully be non-breaking in practice as the compiler should always be able to infer this.Section::builder
for more flexible X
/"extra" type usage than Section::default
& for owned text too.X
type usage to GlyphBrush::keep_cached
.Section::from(text)
& Section::from(vec![text])
conversions.GlyphCruncher::glyphs
, GlyphCruncher::glyph_bounds
docs.#[repr(C)]
for vertex structs.Eq
for BrushError
.3
.GlyphBrush
generic types & workarounds when .build()
type inference fails..round()
during glyph drawing when converting pixel coverage to u8
."Foo \n"
(This particularly changes the layout of right & centre aligned text ending in spaces).0.5
.