grovesNL
glyphon
Rust

๐Ÿฆ…๐Ÿฆ Fast, simple 2D text renderer for wgpu

Last updated Jul 9, 2026
741
Stars
106
Forks
18
Issues
0
Stars/day
Attention Score
74
Language breakdown
Rust 94.4%
WGSL 5.6%
โ–ธ Files click to expand
README

๐Ÿฆ… glyphon ๐Ÿฆ

Fast, simple 2D text rendering for wgpu

crates.io docs.rs Minimum Rust Version Build Status

What is this?

This crate provides a simple way to render 2D text with wgpu by:

  • shaping/calculating layout/rasterizing glyphs (with cosmic-text)
  • packing the glyphs into texture atlas (with etagere)
  • sampling from the texture atlas to render text (with wgpu)
To avoid extra render passes, rendering uses existing render passes (following the middleware pattern described in wgpu's Encapsulating Graphics Work wiki page).

License

This project is licensed under either Apache License, Version 2.0, zlib License, or MIT License, at your option.

Contribution

Unless you explicitly state otherwise, any contribution intentionally submitted for inclusion in this project by you, as defined in the Apache 2.0 license, shall be triple licensed as above, without any additional terms or conditions.

๐Ÿ”— More in this category

ยฉ 2026 GitRepoTrend ยท grovesNL/glyphon ยท Updated daily from GitHub