swash
Font introspection, complex text shaping and glyph rendering. (by dfrg)
ab-glyph
Rust API for loading, scaling, positioning and rasterizing OpenType font glyphs (by alexheretic)
Our great sponsors
swash | ab-glyph | |
---|---|---|
10 | 6 | |
561 | 331 | |
- | - | |
6.5 | 6.3 | |
25 days ago | 15 days ago | |
Rust | Rust | |
MIT or Apache 2.0 | 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.
swash
Posts with mentions or reviews of swash.
We have used some of these posts to build our list of alternatives
and similar projects. The last one was on 2023-07-03.
-
Looking for this. html + css rendering through wgpu.
If you were to implement this yourself, i'd look into either swash or cosmic-text for the text rendering stack (this is one of the things you really don't want to write from the ground up). For accessibility, AccessKit has quickly become the standard for communicating with crossplatform accessibility APIs in rust GUI. lightningcss (or its lower level counterpart cssparser) are both decent options for CSS parsing. Taffy handles some of what browsers offer for a layout engine, but is still being worked on.
- Any suggestion for gpu text rendering?
- Cosmic Text: Pure Rust multi-line text handling
-
Font rendering and layout crates
You probably want to take a look at swash.
-
Bachelor idea to help the rust community
https://github.com/dfrg/swash which does text-shaping and could be built upon
-
I'm giving out microgrants to open source projects for the third year in a row! Brag about your projects here so I can see them, big or small!
swash - A shaping engine that advertises performance comparable to HarfBuzz, and surpassing it in some cases. Tests are in-progress.
-
Whats your favourite open source Rust project that needs more recognition?
swash: a pure Rust shaping engine like Harfbuzz with competitive performance.
- Font introspection, complex text shaping and glyph rendering in Rust
- Text Rendering w/ HarfBuzz, FreeType and OpenGL
- swash: Complex text shaping and glyph rasterization in pure Rust
ab-glyph
Posts with mentions or reviews of ab-glyph.
We have used some of these posts to build our list of alternatives
and similar projects. The last one was on 2023-03-05.
-
Any suggestion for gpu text rendering?
I've only used ab-glyph myself though.
- A Programmable Markup Language for Typesetting [pdf]
- Draw 2D Text in OpenGL
-
How to render text with rust?
ab_glyph is at the same level to DirectWrite/uniscribe where you hand it a character, and it hands you back a rasterized glyph - it's on you on how to draw it.
- 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.
What are some alternatives?
When comparing swash and ab-glyph you can also consider the following projects:
rusttype - Mirror of https://gitlab.redox-os.org/redox-os/rusttype
fontdue - The fastest font renderer in the world, written in pure rust.
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
rustybuzz - A complete harfbuzz's shaping algorithm port to Rust
kiss3d - Keep it simple, stupid 3d graphics engine for Rust.
neovide - No Nonsense Neovim Client in Rust
tauri - Build smaller, faster, and more secure desktop applications with a web frontend.
x11-rs - Rust bindings for X11 libraries
gfx - [maintenance mode] A low-overhead Vulkan-like GPU API for Rust.
cosmic-text - Pure Rust multi-line text handling