grovesNL/glyphon

🦅🦁 Fast, simple 2D text renderer for wgpu

Rust

769

172 commits

updated Jul 9, 2026

See the code

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.

2d
glyph
render
rust
text
wgpu

grovesNL/glyphon

🦅🦁 Fast, simple 2D text renderer for wgpu

Rust

769

172 commits

updated Jul 9, 2026

See the code

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.

2d
glyph
render
rust
text
wgpu

Project health

crates.io

Latest release

0.12.0 · Jul 9, 2026

Releases this year

3

Significant stargazers

(top 24 of 31)

Linda_pp

1,943 followers · starred May 2023

Neko

1,697 followers · starred Sep 2025

Jeremy Soller

2,592 followers · starred Jun 2024

William Casarin

977 followers · starred Dec 2024