Crates.io | fontconfig-cache-parser |
lib.rs | fontconfig-cache-parser |
version | 0.2.0 |
source | src |
created_at | 2024-03-03 05:17:52.469799 |
updated_at | 2024-04-20 01:53:43.10891 |
description | A parser for fontconfig's cache format |
homepage | |
repository | https://github.com/jneem/fontconfig-cache-parser |
max_upload_size | |
id | 1160331 |
size | 56,653 |
fontconfig-cache-parser
does what it says: it's a rust crate for parsing fontconfig's cache files.
This allows you to list your installed font files (and see some properties of them) without having
to scan all the font directories on your system.
This crate does not (yet) allow for parsing all the information in the cache, but it is capable of extracting basic metadata like filenames, style information, and charsets.
You may also be interested in the fontconfig_parser
crate,
which parses fontconfig's config files. In particular, it can tell you where the cache files live.