Rust bindings for SDL2_ttf.
- Rust-sdl2
- sdl_ttf 2.0 development libraries
- Rust master
# compile your rust-sdl2 somewhere
git clone https://github.com/andelf/rust-sdl2_ttf
cd rust-sdl2_ttf
cargo build
# TODO: OR if you are using the mac framework version
rustc -L. --cfg mac_framework src/sdl2_ttf/lib.rs
For cargo:
[dependencies]
sdl2_ttf = "$version-here$"
or
[dependencies.sdl2_ttf]
git = "https://github.com/andelf/rust-sdl2_ttf"
cargo run font.[ttf|ttc|fon]