fontcore 0.0.11

Load fonts, select faces, shape text, and export SVG in Rust.
Documentation
1
2
3
4
5
6
7
8
9
10
11
12
mod common;

use common::font_path;
use fontloader::Font;

fn main() {
    let args: Vec<String> = std::env::args().collect();
    let filename = font_path(&args);
    let font = Font::get_font_from_file(&filename).unwrap();

    print!("font: {:?}", font);
}