Skip to content
Rust bindings for FreeType library
Rust
Branch: master
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Type Name Latest commit message Commit time
Failed to load latest commit information.
examples Published 0.16.0 Oct 15, 2017
src Add Face::style_flags() May 24, 2019
.gitignore Allow font bytes to have multiple owners Dec 20, 2017
.travis.yml
Cargo.toml Published 0.20.0 May 24, 2019
LICENSE
README.md Link to freetype-sys for installation instructions Jan 26, 2016

README.md

freetype-rs Build Status

Rust bindings for FreeType library

Requirements

  • Cargo: We use Cargo to compile the project.
  • FreeType2 development libraries: For installation instructions see freetype-sys.

Build

Clone this repo then run

cd freetype-rs
cargo build

Examples

To build examples, use cargo test. They are all built in ./target/debug/examples/*.

To run examples, use cargo run --example name, for example:

cargo run --example single_glyph examples/assets/FiraSans-Regular.ttf A

How to contribute

You can’t perform that action at this time.