Crate rust_fontconfig

Source
Expand description

Library for getting and matching system fonts with minimal dependencies

§Usage

use rust_fontconfig::{FcFontCache, FcPattern};

fn main() {

    let cache = FcFontCache::build();
    let results = cache.query(&FcPattern {
        name: Some(String::from("Arial")),
        .. Default::default()
    });

    println!("font results: {:?}", results);
}

Structs§

Enums§