A fast text renderer for luminance, powered by glyphbrush. Initially forked and modified from glowglyph by hecrj. Many thanks to hecrj for his work on glow_glyph!
```rust let mut glyphbrush = GlyphBrushBuilder::usingfont(abglyph::FontArc::tryfromslice( includebytes!("Inconsolata-Regular.ttf"), )?) .build(&mut surface);
glyphbrush.queue( Section::default().addtext( Text::new("Hello Luminance Glyph") .withcolor([1.0, 1.0, 1.0, 1.0]) .withscale(80.0), ), );
glyphbrush.processqueued(&mut surface);
surface.pipelinebuilder().pipeline( &backbuffer, &PipelineState::default().setclearcolor([0.2, 0.2, 0.2, 1.0]), |mut pipeline, mut shdgate| { glyphbrush .drawqueued(&mut pipeline, &mut shdgate, 1024, 720) .expect("failed to render glyphs"); }, ); ```