win-font-dir 0.1.1

This library provides the path to the font directory in Windows.
Documentation
  • Coverage
  • 66.67%
    2 out of 3 items documented0 out of 2 items with examples
  • Size
  • Source code size: 3.93 kB This is the summed size of all the files inside the crates.io package for this release.
  • Documentation size: 246.84 kB This is the summed size of all files generated by rustdoc for all configured targets
  • Ø build duration
  • this release: 8s Average build duration of successful builds.
  • all releases: 8s Average build duration of successful builds in releases after 2024-10-23.
  • Links
  • NaokiM03/win-font-dir
    0 0 0
  • crates.io
  • Dependencies
  • Versions
  • Owners
  • NaokiM03

win-font-dir

About

This library provides the path to the font directory in Windows.

Motivation

dirs crate does not support font directory in Windows.
https://github.com/dirs-dev/dirs-rs/issues/37
https://stackoverflow.com/questions/70526705/why-was-the-user-font-directory-not-added-to-the-knownfolder-api

How to use

# Cargo.toml



[dependencies]

win-font-dir = "0.1.0"

This library has only two methods.

  • fn user_font_dir() -> Some(PathBuf);
  • fn system_font_dir() -> Some(PathBuf);

License

win-font-dir is released under the MIT License