#fontconfig #parser #font-config

fontconfig-parser

fontconfig file parser in pure Rust

10 releases

0.5.8 May 12, 2025
0.5.7 Jul 30, 2024
0.5.6 Jan 25, 2024
0.5.3 Aug 2, 2023
0.5.0 Oct 31, 2021

#199 in Parser implementations

Download history 130189/week @ 2025-10-13 126295/week @ 2025-10-20 135374/week @ 2025-10-27 130588/week @ 2025-11-03 129924/week @ 2025-11-10 148277/week @ 2025-11-17 138765/week @ 2025-11-24 163384/week @ 2025-12-01 167708/week @ 2025-12-08 167034/week @ 2025-12-15 122672/week @ 2025-12-22 130304/week @ 2025-12-29 204578/week @ 2026-01-05 242732/week @ 2026-01-12 271603/week @ 2026-01-19 316621/week @ 2026-01-26

1,053,156 downloads per month
Used in 91 crates (4 directly)

MIT license

54KB
1.5K SLoC

fontconfig-parser

This crate provide parsing fontconfig file but not yet complete all features

see https://www.freedesktop.org/software/fontconfig/fontconfig-user.html for more detail infomation of fontconfig file

Example

use fontconfig_parser::FontConfig;

let mut config = FontConfig::default();

config.merge_config("/etc/fonts/fonts.conf").unwrap();

License: MIT

Dependencies

~165–355KB