ft2

Crates.ioft2
lib.rsft2
version0.2.1
sourcesrc
created_at2018-01-10 01:28:50.567258
updated_at2021-07-10 18:46:28.746993
descriptionBonds for FreeType font library
homepage
repositoryhttps://github.com/strake/ft2.rs
max_upload_size
id46193
size270,557
M Farkas-Dyck (strake)

documentation

README

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

Commit count: 386

cargo fmt