Rust bindings for FreeType library
- Rust: We currently compile against the master branch. The releases on http://www.rust-lang.org tend to not work.
- Cargo: We use Cargo to compile the project.
- FreeType2 development libraries: install through your favourite package management tool, or via http://www.freetype.org/download.html
Clone this repo then run
cd freetype-rs
cargo build
To build examples, enter the corresponding example folder and run cargo build
.
For example:
# build
cd examples/font_with_piston
cargo build
# run
./target/font_with_piston