Registry / other / glyph-brush

glyph-brush

JSON →
library0.7.12rscratesunverified

Fast cached text render library using ab_glyph.

# Cargo.toml [dependencies] glyph_brush = "0.7.12"
INSTALL
IMPORT
SIG · GLYPH-BRUSH
G
glyph-brush
otherrustv0.7.12
harness data pending
Install & Compatibility
Where this runs

No compatibility data collected yet for this library.

Code
Verified usage

Verified import paths — ran on the pinned version, not inferred.

GlyphBrush
use glyph_brush::GlyphBrush;

Initialize a GlyphBrush for text rendering.

use glyph_brush::{GlyphBrush, GlyphBrushBuilder, Section}; fn main() { let mut brush = GlyphBrushBuilder::using_font_bytes(vec![]).build(); brush.queue(Section::default()); println!("GlyphBrush created"); }
Debug
Known issues
gotchaRequires a graphics context (e.g., wgpu) to actually render.
fix
Use GlyphBrush with a compatible graphics backend like wgpu or gfx.
affects: >=0.7.0
Upgrade
Version history
0.7.12latest on crates.io
Audit
Dependencies

No dependency data recorded yet.

Agent activity
17 hits · last 30 days
node
16
Meta
1
Resources
glyph-brush — cargo add glyph-brush · libregistry