#font #scan #fonts #readdir #readdirp

nightly scan-fonts

Recursively list which fonts are available in a directory

1 stable release

1.0.0 Nov 24, 2018

#5 in #scan

Download history 4/week @ 2018-11-24

1 downloads per month

MIT/Apache

13KB
144 lines

scan-fonts

crates.io version build status downloads docs.rs docs

Recursively list which fonts are available in a directory.

Examples

Basic usage

use scan_fonts::scan_fonts;

for font in scan_fonts(".") {
  println!("font {}", font.name);
}

Installation

$ cargo add scan-fonts

Safety

This crate uses #![deny(unsafe_code)] to ensure everything is implemented in 100% Safe Rust.

Contributing

Want to join us? Check out our "Contributing" guide and take a look at some of these issues:

References

None.

License

MIT OR Apache-2.0

Dependencies

~1MB
~28K SLoC