abrasion/third_party/cargo/vendor/stb_truetype-0.3.1
q3k ac8a8b0f5a vendor all the shit. 2020-01-19 00:27:25 +01:00
..
benches vendor all the shit. 2020-01-19 00:27:25 +01:00
examples vendor all the shit. 2020-01-19 00:27:25 +01:00
src vendor all the shit. 2020-01-19 00:27:25 +01:00
tests vendor all the shit. 2020-01-19 00:27:25 +01:00
.cargo-checksum.json vendor all the shit. 2020-01-19 00:27:25 +01:00
BUILD vendor all the shit. 2020-01-19 00:27:25 +01:00
CHANGELOG.md vendor all the shit. 2020-01-19 00:27:25 +01:00
Cargo.toml vendor all the shit. 2020-01-19 00:27:25 +01:00
LICENSE-APACHE vendor all the shit. 2020-01-19 00:27:25 +01:00
LICENSE-MIT vendor all the shit. 2020-01-19 00:27:25 +01:00
README.md vendor all the shit. 2020-01-19 00:27:25 +01:00
rustfmt.toml vendor all the shit. 2020-01-19 00:27:25 +01:00

README.md

stb_truetype-rs

Crates.io docs.rs

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.

Minimum supported rust compiler

This crate is maintained with latest stable rust.

License

Licensed under either of

at your option.

Contribution

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.