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