allsorts
glium
allsorts | glium | |
---|---|---|
10 | 17 | |
696 | 3,388 | |
1.0% | 0.4% | |
8.4 | 8.0 | |
4 months ago | about 1 month 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.
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?
glium
-
I don't understand how dependencies work
I am trying to follow to this tutorial on glium and I can't even get a window to show up because of what I assume to be a lack of comprehension on my end about how dependencies work.
-
Cargo build feature issue: Building winit problem, says no features specified
Which is blocked, waiting for glium to update: https://github.com/glium/glium/pull/2036
-
OpenGL crates: gl vs glow vs glium
https://crates.io/crates/glium (8 months ago - 925 kB)
-
Questions about Glium framework
The book is a great place to look at https://github.com/glium/glium/tree/master/book And glium itself is a bit outdated might be good to look at alternatives like glow
-
[Media] Visualizing scientific data in rust
Hi rustaceans! I glued this prototype together with vtkio and glium. There are more features that are unsupported than supported at this point, but the code is here if you want to check it out: https://github.com/JeffIrwin/skillet
-
[GLIUM] - how to pass structs as uniforms to shaders
https://github.com/glium/glium/issues/941 is the relevant Glium bug/feature request. Long story short, structs as uniforms aren't supported by Glium's current design, it looks like.
-
should i learn glium?
Should i learn glium (https://crates.io/crates/glium)? i have some experience in opengl (C++) and i would like to use the opengl functionality in the Rust ecosystem.
-
How to abstract OpenGL for future use?
I can recommend https://github.com/glium/glium as a good, safe abstraction. There was a time when I wanted to learn shaders and write complex pipelines with several stages, this library allowed me to learn about the important objects and their responsibilities without having to program the very verbose chunks of code to initialize. I learned the following:
-
Where to find resources to learn OpenGL with Rust ?
Glium is a Rust-y OpenGL wrapper, and its repository contains a discussion that should give you an idea whether this is what you want to use, as well as some tutorial.
-
Workaround for counter that goes out of scope
With a gluim window open, I want to count the number of user clicks and retain the number after the window is closed. In order to keep the program running after the window is closed, I had to change event_loop.run to event_loop.run_return and I think that means all variables will be moved into the closure and my counter goes out of scope.
What are some alternatives?
rustybuzz - A complete harfbuzz's shaping algorithm port to Rust
glow - GL on Whatever: a set of bindings to run GL anywhere and avoid target-specific code
rust-harfbuzz - Rust bindings to HarfBuzz
glutin - A low-level library for OpenGL context creation, written in pure Rust.
pathfinder - A fast, practical GPU rasterizer for fonts and vector graphics
gfx - [maintenance mode] A low-overhead Vulkan-like GPU API for Rust.
lingua-rs - The most accurate natural language detection library for Rust, suitable for short text and mixed-language text
wgpu - Cross-platform, safe, pure-rust graphics api.
fontdue - The fastest font renderer in the world, written in pure rust.
learn-wgpu - Guide for using gfx-rs's wgpu library.
RedReader - An unofficial open source Android app for Reddit.
kiss3d - Keep it simple, stupid 3d graphics engine for Rust.