scan-fonts 1.0.0

Recursively list which fonts are available in a directory.
Documentation
  • Coverage
  • 100%
    9 out of 9 items documented1 out of 2 items with examples
  • Size
  • Source code size: 31.25 kB This is the summed size of all the files inside the crates.io package for this release.
  • Documentation size: 686.21 kB This is the summed size of all files generated by rustdoc for all configured targets
  • Ø build duration
  • this release: 19s Average build duration of successful builds.
  • all releases: 19s Average build duration of successful builds in releases after 2024-10-23.
  • Links
  • yoshuawuyts/scan-fonts
    11 1 0
  • crates.io
  • Dependencies
  • Versions
  • Owners
  • yoshuawuyts

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