wgpu-text
📜A simple 2D text renderer for wgpu📜
> is a wrapper over glyph-brush for easier text rendering in wgpu
> inspired by similar to wgpu_glyph (by Blatko1)
fontdue
The fastest font renderer in the world, written in pure rust. (by mooman219)
Our great sponsors
wgpu-text | fontdue | |
---|---|---|
1 | 8 | |
79 | 1,347 | |
- | - | |
7.4 | 5.6 | |
27 days ago | 12 days ago | |
Rust | Rust | |
MIT License | Apache License 2.0 |
The number of mentions indicates the total number of mentions that we've tracked plus the number of user suggested alternatives.
Stars - the number of stars that a project has on GitHub. Growth - month over month growth in stars.
Activity is a relative number indicating how actively a project is being developed. Recent commits have higher weight than older ones.
For example, an activity of 9.0 indicates that a project is amongst the top 10% of the most actively developed projects that we are tracking.
Stars - the number of stars that a project has on GitHub. Growth - month over month growth in stars.
Activity is a relative number indicating how actively a project is being developed. Recent commits have higher weight than older ones.
For example, an activity of 9.0 indicates that a project is amongst the top 10% of the most actively developed projects that we are tracking.
wgpu-text
Posts with mentions or reviews of wgpu-text.
We have used some of these posts to build our list of alternatives
and similar projects. The last one was on 2022-03-27.
-
wgpu_glyph VS wgpu-text - a user suggested alternative
2 projects | 27 Mar 2022
wgpu-text is similar to wgpu_glyph but simpler. It provides basic text rendering and is still being worked on for new features.
fontdue
Posts with mentions or reviews of fontdue.
We have used some of these posts to build our list of alternatives
and similar projects. The last one was on 2023-01-18.
- A Programmable Markup Language for Typesetting [pdf]
-
Does a wgpu text renderer exist for Android?
The other alternative is to go a level lower and use something like fontdue and then roll my own font rendering pipe, but that seems overkill for what seems like a simple problem.
-
Rust, Wright's Law, and the Future of Low-Latency Systems
I agree that no_std is incredible. I really want to see more crates embrace it and encapsulate their no_std logic away from their standard logic. I very often see crates that are like 95% of the way to no_std but then choose to bundle some standard only features without flagging them.
I wrote fontdue [0] (which is very incomplete spec wise) because there just wasn't another font library that was no_std at that time. It felt like the existing libraries were in an arms race for gpu caches and bundling file loading. Like if I wanted to commit to a running on a platform I'd do the sane thing and use harfbuzz or the platform APIs.
[0] https://github.com/mooman219/fontdue
- Fontdue: A fast font renderer written in Rust
- Text Rendering w/ HarfBuzz, FreeType and OpenGL
-
swash: Complex text shaping and glyph rasterization in pure Rust
Like tiny-skia? As for font-specific one there are ab-glyph and fontdue.
-
Show HN: High-speed UTF-8 validation in Rust
I work on a SIMD optimized font library [0] and have stumbled into the same situation of hand writing SIMD intrinsics. Some things are just kinda hard to make sure they get optimized correctly, and there is enough difference between the platforms where that matters when fiddling with bits. I also kinda have fun writing SIMD code like this too.
[0]: https://github.com/mooman219/fontdue/blob/master/src/platfor...
-
The `rusttype` crate is looking for a new maintainer
The other library that does a similar thing to ab_glyph/rusttype I remember hearing about is fontdue (https://github.com/mooman219/fontdue)
What are some alternatives?
When comparing wgpu-text and fontdue you can also consider the following projects:
rend3 - Easy to use, customizable, efficient 3D renderer library built on wgpu.
ab-glyph - Rust API for loading, scaling, positioning and rasterizing OpenType font glyphs