Rust-SDL2_ttf

Build Status

Rust bindings for SDL2_ttf.

Requirements

Installation

```

compile your rust-sdl2 somewhere

git clone https://github.com/andelf/rust-sdl2ttf cd rust-sdl2ttf cargo build

TODO: OR if you are using the mac framework version

rustc -L. --cfg macframework src/sdl2ttf/lib.rs ```

For cargo:

[dependencies] sdl2_ttf = "$version-here$"

or

[dependencies.sdl2_ttf] git = "https://github.com/andelf/rust-sdl2_ttf"

Demo

cargo run font.[ttf|ttc|fon]