ttf2mesh

A high-level Rust wrapper API for fetisov's ttf2mesh library for generating a 2d/3d mesh (vertices, indices and normals [only for 3D]) from TrueType (.ttf) glyphs.
Installing
Prequisites:
apt-get install build-essential patch
Add to Cargo.toml:
[dependencies]
ttf2mesh = "*" # change to latest version
Examples
See examples -folder and crate docs.
Simple usage:
use ;
let mut font = from_file.unwrap;
for char in "Hello_World".chars
Security
The API surface (mainly .ttf loading) has been fuzzed with cargo-fuzz.
Development
Install prequisites (see above).
Clone repository:
git clone https://github.com/blaind/ttf2mesh-rs.git
Update submodules
git submodule update --init
Develop
License
Licensed under MIT license
Contribution
Unless you explicitly state otherwise, any contribution intentionally submitted for inclusion in the software by you, shall be licensed as above, without any additional terms or conditions.