|Jens Pitkänen 2775f9cd7a Rewrite parts of GlyphCache and implement eviction||1 day ago|
|examples||2 hours ago|
|src||2 hours ago|
|.gitignore||9 months ago|
|Cargo.lock||4 days ago|
|Cargo.toml||4 days ago|
|LICENSE.md||1 year ago|
|README.md||4 days ago|
|build.rs||3 weeks ago|
Fae is a simple, performant, and compatible 2D rendering crate built
on top of
glutin, with optional text rendering functionality.
Fae’s main design goals are simplicity and performance while
supporting older/low-end target platforms. The optional text-rendering
text can draw simple text with the
font8x8 crate, or more
sophisticated TTF-based text via
Fae supports OpenGL 2.1 and OpenGL ES 2.0 contexts, but will do some optimizations (VAOs, instanced rendering) if a newer context (3.3+/ES 3.0+) is available.
This is not a serious contender intended to replace any general 2D rendering crates. I’m developing this as an exercise to learn about OpenGL and font rendering, with an eventual goal of being usable for my own applications. Use with caution!
Fae is currently under development, and I wouldn’t recommend it for any kind of usage yet. It’s on crates.io mostly so I don’t have to come up with another name :)
Image::from_pngfunction, which allows you to load images from PNG data. This is a very convenient feature, but not necessarily a requirement for using the crate, so it’s optional. Also, it adds some executable size, so use with caution, if you’re going for minimalism.
textmod, which has functionality for drawing strings. If
font8x8is enabled as a feature (which it is, by default), you can draw text with a simple 8x8 bitmap-based font. If
font-kitis enabled, you can draw text with any font provided by it (WIP).
profilermod. Everything in the
minreq::profilermodule is a no-op if this feature is disabled.
If you come across bugs, other issues or feature requests, feel free to open an issue on GitHub. Pull requests are welcome as well, though keep in mind that this is supposed to be a relatively minimalistic crate, so I probably won’t include any considerable new functionality. If in doubt, open an issue!
fae crate is distributed under the MIT license.