Crates.io | stb_truetype |
lib.rs | stb_truetype |
version | 0.3.1 |
source | src |
created_at | 2016-02-05 09:04:20.005777 |
updated_at | 2019-11-23 13:39:54.159461 |
description | A straight translation of the font loading code in stb_truetype.h from C to Rust. |
homepage | |
repository | https://gitlab.redox-os.org/redox-os/stb_truetype-rs |
max_upload_size | |
id | 4079 |
size | 84,379 |
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
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.