#font #scan #fonts #readdir #readdirp

nightly scan-fonts

Recursively list which fonts are available in a directory

1 stable release

✓ Uses Rust 2018 edition

1.0.0 Nov 24, 2018

#5 in #scan

Download history 10/week @ 2018-11-26 5/week @ 2018-12-03 11/week @ 2018-12-10 1/week @ 2018-12-17 8/week @ 2018-12-24 1/week @ 2019-01-07 6/week @ 2019-01-14 3/week @ 2019-01-21 1/week @ 2019-01-28 2/week @ 2019-02-04

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