Crates.io | scan-fonts |
lib.rs | scan-fonts |
version | 1.0.0 |
source | src |
created_at | 2018-11-24 14:27:03.983629 |
updated_at | 2018-11-24 14:27:03.983629 |
description | Recursively list which fonts are available in a directory. |
homepage | |
repository | https://github.com/yoshuawuyts/scan-fonts |
max_upload_size | |
id | 98440 |
size | 31,254 |
Recursively list which fonts are available in a directory.
Basic usage
use scan_fonts::scan_fonts;
for font in scan_fonts(".") {
println!("font {}", font.name);
}
$ cargo add scan-fonts
This crate uses #![deny(unsafe_code)]
to ensure everything is implemented in
100% Safe Rust.
Want to join us? Check out our "Contributing" guide and take a look at some of these issues:
None.
MIT OR Apache-2.0