✓ Uses Rust 2018 edition
|0.2.6||Feb 1, 2019|
|0.2.5||Dec 14, 2018|
|0.2.4||Sep 7, 2018|
|0.2.3||Aug 27, 2018|
|0.1.2||Feb 14, 2016|
#5 in Rendering
20,615 downloads per month
Used in 248 crates (1 directly)
This is a translation of the font loading code in stb_truetype.h from C to Rust. It is intended as a stopgap dependency for libraries that deal with fonts until something better, written in idiomatic Rust, is available. This library is not an example of good Rust code, but it works.
Please note that the documentation provided is also a straight copy from the original code.
Currently this port does not include the rasterisation or font querying API provided by stb_truetype.h. If you are looking for font rasterisation, that is provided by RustType.
This crate is maintained with latest stable rust.
Licensed under either of
- Apache License, Version 2.0, (LICENSE-APACHE or http://www.apache.org/licenses/LICENSE-2.0)
- MIT license (LICENSE-MIT or http://opensource.org/licenses/MIT)
at your option.
Unless you explicitly state otherwise, any contribution intentionally submitted for inclusion in the work by you, as defined in the Apache-2.0 license, shall be dual licensed as above, without any additional terms or conditions.