#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

#195 in Parser implementations

Download history 323913/week @ 2026-01-28 418473/week @ 2026-02-04 402758/week @ 2026-02-11 297113/week @ 2026-02-18 318430/week @ 2026-02-25 366988/week @ 2026-03-04 392751/week @ 2026-03-11 340811/week @ 2026-03-18 331230/week @ 2026-03-25 362057/week @ 2026-04-01 439490/week @ 2026-04-08 440176/week @ 2026-04-15 498757/week @ 2026-04-22 471378/week @ 2026-04-29 436329/week @ 2026-05-06 513687/week @ 2026-05-13

2,003,883 downloads per month
Used in 164 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–330KB