Skip to content

GGalizzi/rust-sdl2_ttf

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

42 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Rust-SDL2_ttf

Build Status

Rust bindings for SDL2_ttf.

Requirements

  • Rust-sdl2
  • sdl_ttf 2.0 development libraries
  • Rust master

Installation

# 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"

Demo

cargo run font.[ttf|ttc|fon]

About

Rust bindings for sdl2_ttf.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • Rust 52.6%
  • Makefile 47.4%