A fast text renderer for wgpu, powered by glyph_brush
```rust use wgpuglyph::{abglyph, GlyphBrushBuilder, Section, Text};
let font = abglyph::FontArc::tryfromslice(includebytes!("SomeFont.ttf")) .expect("Load font");
let mut glyphbrush = GlyphBrushBuilder::usingfont(font) .build(&device, render_format);
let section = Section { screenposition: (10.0, 10.0), text: vec![Text::new("Hello wgpuglyph")], ..Section::default() };
glyph_brush.queue(section);
glyphbrush.drawqueued( &device, &mut encoder, &frame.view, frame.width, frame.height, );
device.get_queue().submit(&[encoder.finish()]); ```
Have a look at
* cargo run --example hello
* Coffee, which uses wgpu_glyph
to
provide font rendering on the [wgpu
graphics backend].