fschutt / rust-fontconfig

Pure-Rust rewrite of the Linux fontconfig library (no system dependencies) - using ttf-parser and allsorts
MIT License
39 stars 8 forks source link

Search the Windows user font directory. #12

Closed zedseven closed 7 months ago

zedseven commented 7 months ago

Includes and depends on the changes in #9. That PR should be merged before this one, so I'm marking this as a draft until then.

On Windows, system fonts are stored in C:\\Windows\\Fonts\\, but user fonts are stored in %HOME%\\AppData\\Local\\Microsoft\\Windows\\Fonts\\. The latter wasn't part of the search.