Crates.io | win-font-dir |
lib.rs | win-font-dir |
version | 0.1.1 |
source | src |
created_at | 2022-03-14 02:58:22.062637 |
updated_at | 2022-03-18 15:37:41.073477 |
description | This library provides the path to the font directory in Windows. |
homepage | |
repository | https://github.com/NaokiM03/win-font-dir |
max_upload_size | |
id | 549523 |
size | 3,933 |
This library provides the path to the font directory in Windows.
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
# 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);
win-font-dir is released under the MIT License