ab-glyph
allsorts
ab-glyph | allsorts | |
---|---|---|
6 | 10 | |
335 | 700 | |
- | 1.6% | |
6.3 | 8.4 | |
9 days ago | 5 months ago | |
Rust | Rust | |
Apache License 2.0 | Apache License 2.0 |
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.
ab-glyph
-
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.
allsorts
- Cosmic Text: Pure Rust multi-line text handling
-
Is it conveninent to make cross-platform GUI softwares using Rust now?
But again you don't need to reinvent text layout from scratch (that's my discussion, BTW) if you use the platform's native text drawing facilities, like DirectWrite on Windows, or CoreText on macOS.
-
Getting a pointer to a field of an enum
All these layers of Cows create an extremely complex lifetime tree and it's actually not possible to factor out the complex parsing steps into functions because they depend on a lot of stuff. (trying to return an OutlineBuilder from a function would dangling reference about 3 different temporaries, for example. Obtaining the temporaries is part of the parsing step)
-
Rust's Option and Result. In Python.
machine learning, neural networks, image processing, cryptography (though it is getting better), font shaping/rendering (though it is getting better), CPU/software rendering (though it is getting better)
-
What's the project you're currently working on at your company as a Rust developer?
It can be used for the things you suggest but our driving use case is font parsing. The goal is to use it to generate the font parsing code in Allsorts, which is ultimately used in Prince.
-
Question: Expected webrender impact, or influence, on emacs redisplay
Use allsorts or rustbuzz for text shaping
- Text Rendering w/ HarfBuzz, FreeType and OpenGL
-
Text Rendering
Loader -> Allsorts
-
Speedy2D: Easy-to-use library for graphics, text, and input events
It's something I'd like to improve on in future -- are there any pure-Rust libraries you'd recommend for shaping? Allsorts looks quite promising.
- Ask HN: How do you use Rust at work?
What are some alternatives?
fontdue - The fastest font renderer in the world, written in pure rust.
rustybuzz - A complete harfbuzz's shaping algorithm port to 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
rust-harfbuzz - Rust bindings to HarfBuzz
pathfinder - A fast, practical GPU rasterizer for fonts and vector graphics
neovide - No Nonsense Neovim Client in Rust
glium - Safe OpenGL wrapper for the Rust language.
swash - Font introspection, complex text shaping and glyph rendering.
lingua-rs - The most accurate natural language detection library for Rust, suitable for short text and mixed-language text
x11-rs - Rust bindings for X11 libraries