font-kit 0.14.2

A cross-platform font loading library
Documentation
1
2
3
4
5
6
7
fn main() {
    println!("cargo:rerun-if-env-changed=RUST_FONTCONFIG_DLOPEN");
    let dlopen = std::env::var("RUST_FONTCONFIG_DLOPEN").is_ok();
    if dlopen {
        println!("cargo:rustc-cfg=feature=\"source-fontconfig-dlopen\"");
    }
}