No description
Find a file
Repository files (latest commit first)
Filename Latest commit message Latest commit date
2020-04-18 11:48:12 +01:00
benches Edition 2018 2018-12-10 16:59:24 +00:00
examples Edition 2018 2018-12-10 16:59:24 +00:00
fonts Add get_glyph_shape_compound_glyph_roboto_colon bench test 2018-09-05 15:18:39 +01:00
src Update libm -> 0.2.1 2019-11-23 13:25:02 +00:00
tests Edition 2018 2018-12-10 16:59:24 +00:00
.gitignore Added gitignore 2016-02-04 22:07:31 +00:00
.gitlab-ci.yml Implement Support for no_std 2019-09-04 14:31:14 +00:00
Cargo.toml Release 0.3.1 2019-11-23 13:38:44 +00:00
CHANGELOG.md Update libm -> 0.2.1 2019-11-23 13:25:02 +00:00
LICENSE-APACHE Added readme and licenses 2016-02-04 22:06:34 +00:00
LICENSE-MIT Added readme and licenses 2016-02-04 22:06:34 +00:00
README.md Update readme: No longer maintained 2020-04-18 11:48:12 +01:00
rustfmt.toml cargo fmt + remove commented code 2018-08-24 15:35:57 +01:00

stb_truetype-rs

Crates.io docs.rs

This code is no longer maintained. This crate was maintained for use in rusttype which has switched to use ttf-parser.

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 was 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.