9 releases

0.5.7 Jul 30, 2024
0.5.6 Jan 25, 2024
0.5.3 Aug 2, 2023
0.5.2 Feb 5, 2023
0.5.0 Oct 31, 2021

#162 in Parser implementations

Download history 37784/week @ 2024-08-16 38305/week @ 2024-08-23 42211/week @ 2024-08-30 41058/week @ 2024-09-06 36711/week @ 2024-09-13 45589/week @ 2024-09-20 46918/week @ 2024-09-27 47942/week @ 2024-10-04 43921/week @ 2024-10-11 47608/week @ 2024-10-18 41437/week @ 2024-10-25 44754/week @ 2024-11-01 34502/week @ 2024-11-08 33475/week @ 2024-11-15 35291/week @ 2024-11-22 36731/week @ 2024-11-29

147,275 downloads per month
Used in 22 crates (3 directly)

MIT license

120KB
4K SLoC

Bitbake 2.5K SLoC Rust 1.5K SLoC // 0.0% comments Shell 9 SLoC // 0.2% comments

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


lib.rs:

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();

Dependencies

~165–345KB