Crate rust_fontconfig[][src]

Library for getting and matching system fonts with minimal dependencies

Usage

use rust_fontconfig::{FcFontCache, FcPattern};

fn main() {

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

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

Structs

FcFontCache
FcFontPath
FcPattern

Enums

PatternMatch